◐ Shell
clean mode source ↗

std::basic_string<CharT,Traits,Allocator>::get_allocator - cppreference.com

allocator_type get_allocator() const;
(C++20 起为 noexcept)
(C++20 起为 constexpr)