W3cubDocs

/C++

std::basic_syncbuf<CharT,Traits,Allocator>::get_allocator

allocator_type get_allocator() const noexcept;

Returns a copy of the allocator that was passed in as the constructor argument or replaced through the assignment operator.

Parameters

(none).

Example

See also

constructs a basic_syncbuf object
(public member function)
assigns a basic_syncbuf object
(public member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/io/basic_syncbuf/get_allocator