constexpr allocator_type get_allocator() const noexcept;
概要
このオブジェクトが使用するアロケータを取得する。
戻り値
所有するアロケータのコピー。
例外
投げない。
バージョン
言語
- C++26
処理系
- Clang: 22 ❌
- GCC: 16.1 ✅
- Visual C++: 2026 Update 2 ❌
constexpr allocator_type get_allocator() const noexcept;
このオブジェクトが使用するアロケータを取得する。
所有するアロケータのコピー。
投げない。