std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::max_size
提供: 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++17で非推奨)(C++20で削除) |
サポートされている最大確保サイズを返します ( std::allocator<T> のパブリックメンバ関数)
|
[静的] |
アロケータでサポートされている最大オブジェクトサイズを返します ( std::allocator_traits<Alloc> のパブリック静的メンバ関数)
|