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> 的公开静态成员函数)  |