It returns a copy of the allocator object associated with the string.
DeclarationFollowing is the declaration for std::string::get_allocator.
allocator_type get_allocator() const;C++11
allocator_type get_allocator() const noexcept;C++14
allocator_type get_allocator() const noexcept;Parameters
none
Return ValueIt returns a copy of the allocator object associated with the string.
Exceptionsif an exception is thrown, there are no changes in the string.
string.htm
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4