It returns the allocator object used to construct the container.
DeclarationFollowing is the declaration for std::unordered_set::get_allocator.
C++11allocator_type get_allocator() const noexcept;Parameters
none
Return valueIt returns the allocator.
ExceptionsException is thrown if any element comparison object throws exception.
Please note that invalid arguments cause undefined behavior.
Time complexityconstant time.
unordered_set.htm
Print Page
Previous
Next
Advertisements
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