operator · 2 overloads
std::polymorphic::operator=
- Header
<memory>- Draft
- [polymorphic.syn]
- Scope
std::polymorphic- cppreference
- <memory> nearest page
Assignment operators
Overloads
- (1)
constexpr polymorphic& operator=(const polymorphic& other); - (2)
constexpr polymorphic& operator=( polymorphic&& other) noexcept(traits::propagate_on_container_move_assignment::value || traits::is_always_equal::value);