std::experimental::pmr::polymorphic_allocator<T>::operator= (3) - Linux Manuals

std::experimental::pmr::polymorphic_allocator<T>::operator=: std::experimental::pmr::polymorphic_allocator<T>::operator=

NAME

std::experimental::pmr::polymorphic_allocator<T>::operator= - std::experimental::pmr::polymorphic_allocator<T>::operator=

Synopsis


polymorphic_allocator& operator=(const polymorphic_allocator& rhs) = default; (library fundamentals TS)


Copy assigns this polymorphic_allocator. Sets the memory resource pointer of *this to that of rhs.

Parameters


rhs - another polymorphic_allocator to copy from

Return value


*this