public member function
<memory>
default (1) | allocator() throw(); |
---|
copy (2) | allocator (const allocator& alloc) throw();template <class U> allocator (const allocator<U>& alloc) throw(); |
---|
default (1) | allocator() noexcept; |
---|
copy (2) | allocator (const allocator& alloc) noexcept;template <class U> allocator (const allocator<U>& alloc) noexcept; |
---|
Construct allocator object
Constructs an allocator object.
The standard allocator has no data members and is not required to perform any initialization, but the three constructor versions must be defined (even if they do nothing) to allow for copy-constructions from allocator objects of other types.
Parameters
- alloc
- Allocator object.