SysTutorials

Linux Manual Pages › Section 3

stdexperimentalpmrpolymorphic_allocatoroperator(3)

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