Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | io‎ | basic stringbuf
 
 
Input/output library
I/O manipulators
C-style I/O
Buffers
(deprecated in C++98)
Streams
Abstractions
File I/O
String I/O
Array I/O
(deprecated in C++98)
(deprecated in C++98)
(deprecated in C++98)
Synchronized Output
Types
Error category interface
(C++11)
 
 
allocator_type get_allocator() const noexcept;
(since C++20)

Returns the allocator associated with the internal basic_string.

[edit] Parameters

(none)

[edit] Return value

the associated allocator

[edit] See also

returns the associated allocator
(public member function of std::basic_string<CharT,Traits,Allocator>) [edit]