std::allocator::max_size
来自cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| Defined in header <memory>
|
||
| size_type max_size() const |
||
返回理论上的最大可能值
n的呼叫allocate(n, 0)能够成功. Original:
Returns the maximum theoretically possible value of
n, for which the call allocate(n, 0) could succeed. The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
在大多数实现中,这样的回报std::numeric_limits<size_type>::max().
Original:
In most implementations, this returns std::numeric_limits<size_type>::max().
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
目录 |
[编辑] 参数
(无)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 返回值
支持的最大分配大小
Original:
The maximum supported allocation size
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 例外
[编辑] 另请参阅
| [静态的] </ SPAN></div></div>
|
返回对象的最大规模的分配器支持 Original: returns the maximum object size supported by the allocator The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共静态成员函数of std::allocator_traits)
|