メモリアライメント対応アロケータ  
 More...
#include <Allocator.hpp>
 | 
| constexpr SIV3D_NODISCARD_CXX20  | Allocator () noexcept=default | 
|   | 
| constexpr SIV3D_NODISCARD_CXX20  | Allocator (const Allocator &) noexcept=default | 
|   | 
| template<class Other , size_t OtherAlignment>  | 
| constexpr SIV3D_NODISCARD_CXX20  | Allocator (const Allocator< Other, OtherAlignment > &) noexcept | 
|   | 
| Type *  | allocate (size_t n) | 
|   | 
| void  | deallocate (Type *p, size_t) | 
|   | 
 | 
| static constexpr size_t  | alignment = Alignment | 
|   | 
template<class Type, size_t Alignment = alignof(Type)>
class s3d::Allocator< Type, Alignment >
メモリアライメント対応アロケータ 
- Template Parameters
 - 
  
    | Type | アロケーションするオブジェクトの型  | 
    | Alignment | アライメント(バイト)  | 
  
   
 
◆ difference_type
template<class Type , size_t Alignment = alignof(Type)> 
      
 
 
◆ is_always_equal
template<class Type , size_t Alignment = alignof(Type)> 
      
 
 
◆ propagate_on_container_move_assignment
template<class Type , size_t Alignment = alignof(Type)> 
      
 
 
◆ size_type
template<class Type , size_t Alignment = alignof(Type)> 
      
 
 
◆ value_type
template<class Type , size_t Alignment = alignof(Type)> 
      
 
 
◆ Allocator() [1/3]
template<class Type , size_t Alignment = alignof(Type)> 
 
 
◆ Allocator() [2/3]
template<class Type , size_t Alignment = alignof(Type)> 
 
 
◆ Allocator() [3/3]
template<class Type , size_t Alignment = alignof(Type)> 
template<class Other , size_t OtherAlignment> 
 
 
◆ allocate()
template<class Type , size_t Alignment = alignof(Type)> 
      
 
 
◆ deallocate()
template<class Type , size_t Alignment = alignof(Type)> 
      
        
          | void s3d::Allocator< Type, Alignment >::deallocate  | 
          ( | 
          Type *  | 
          p,  | 
        
        
           | 
           | 
          size_t  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ alignment
template<class Type , size_t Alignment = alignof(Type)> 
  
  
      
        
          | constexpr size_t s3d::Allocator< Type, Alignment >::alignment = Alignment | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
The documentation for this class was generated from the following file: