std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::max_size
From cppreference.com
< cpp | memory | scoped allocator adaptor
| ヘッダ <scoped_allocator> で定義 |
||
| size_type max_size() const; |
(C++11以降) | |
外部アロケータがサポートする最大割り当てサイズを報告します。これは、std::allocator_traits<OuterAlloc>::max_size(outer_allocator()) を呼び出すことによって行われます。
[編集] パラメータ
(なし)
[編集] 戻り値
OuterAlloc の最大割り当てサイズ。
[編集] 関連項目
| (C++20まで) |
サポートされている最大アロケーションサイズを返す ( std::allocator<T> の public メンバ関数) |
| [static] |
アロケータがサポートするオブジェクトの最大サイズを返す ( std::allocator_traits<Alloc> の public static メンバ関数) |