Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

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

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

NotebookLM
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

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.