std::experimental::pmr::polymorphic_allocator::operator= - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::pmr::polymorphic_allocator::operator=

From cppreference.com
< cpp‎ | experimental‎ | polymorphic allocator

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`.

### [edit] Parameters

rhs | - | another `polymorphic_allocator` to copy from

### [edit] Return value

*this

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/polymorphic_allocator/operator%3D&oldid=82196"