std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>:: max_size
      From cppreference.com
     
     
     
     
      
       <
       
        cpp
       
        |
       
        memory
       
        |
       
        scoped allocator adaptor
       
      
     
     
     
     
        
         C++
        
        
         
          
           
          
          
         
        
       
       
        
         Dynamic memory management
        
        
         
          
           
            
          
          
          
         
        
       
       
              
  | 
             
              
  | 
            ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
        
         
          std::scoped_allocator_adaptor
         
        
        
         
          
           
            
          
          
          
         
        
       
       | Member functions | ||||
| 
               
                
                 
                  
                   scoped_allocator_adaptor::max_size
                  
                 
                
                
               | 
            ||||
| Non-member functions | ||||
| 
               
                
                 
                 
                 
                  
                   (until C++20)
                  
                 
                
                
               | 
            ||||
| Deduction guides (C++17) | 
| 
           
           Defined in header
            
         
            
             <scoped_allocator>
            
           
           | 
         ||
| 
           
           
            size_type max_size
            
             (
            
            
             )
            
            
             const
            
            
             ;
            
           
           
          | 
         (since C++11) | |
Reports the maximum allocation size supported by the outer allocator, by calling std:: allocator_traits < OuterAlloc > :: max_size ( outer_allocator ( ) ) .
Parameters
(none)
Return value
The maximum allocation size for OuterAlloc.
See also
| 
          
           
            
             
              (until C++20)
             
            
           
           
          | 
        
         returns the largest supported allocation size
          (public member function of 
           std::allocator<T>
          
          )
         
         | 
       
| 
          
           
            
             
              [static]
             
            
           
           
          | 
        
         returns the maximum object size supported by the allocator
          (public static member function of 
           std::allocator_traits<Alloc>
          
          )
         
         | 
       
      Retrieved from "
      
       https://en.cppreference.com/mwiki/index.php?title=cpp/memory/scoped_allocator_adaptor/max_size&oldid=153615
      
      "