Namespaces
Variants
Views
Actions

std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::operator=

From cppreference.com
 
 
Memory management library
(exposition only*)
Uninitialized memory algorithms
(C++17)
(C++17)
(C++17)
Constrained uninitialized
memory algorithms
C Library

Allocators
Memory resources
Garbage collection support
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
Uninitialized storage
(until C++20*)
(until C++20*)
Explicit lifetime management
 
 
Defined in header <scoped_allocator>
scoped_allocator_adaptor& operator=( const scoped_allocator_adaptor& other ) = default;
(1)
scoped_allocator_adaptor& operator=( scoped_allocator_adaptor&& other ) = default;
(2)
1) Explicitly defaulted copy assignment operator that copy assigns the base class (OuterAlloc, the outer allocator) and all inner allocators.
2) Explicitly defaulted move assignment operator that move assigns the base class (OuterAlloc, the outer allocator) and all inner allocators.

[edit] Parameters

other - another std::scoped_allocator_adaptor