| 
    rippled
    
   | 
 
A collection of slab allocators of various sizes for a given type. More...
#include <SlabAllocator.h>

Classes | |
| class | SlabConfig | 
Public Member Functions | |
| constexpr | SlabAllocatorSet (std::vector< SlabConfig > cfg) | 
| SlabAllocatorSet (SlabAllocatorSet const &other)=delete | |
| SlabAllocatorSet & | operator= (SlabAllocatorSet const &other)=delete | 
| SlabAllocatorSet (SlabAllocatorSet &&other)=delete | |
| SlabAllocatorSet & | operator= (SlabAllocatorSet &&other)=delete | 
| ~SlabAllocatorSet () | |
| std::uint8_t * | allocate (std::size_t extra) noexcept | 
| Returns a suitably aligned pointer, if one is available.   | |
| bool | deallocate (std::uint8_t *ptr) noexcept | 
| Returns the memory block to the allocator.   | |
Private Attributes | |
| boost::container::static_vector< SlabAllocator< Type >, 64 > | allocators_ | 
| std::size_t | maxSize_ = 0 | 
A collection of slab allocators of various sizes for a given type.
Definition at line 323 of file SlabAllocator.h.
      
  | 
  constexpr | 
Definition at line 351 of file SlabAllocator.h.
      
  | 
  delete | 
      
  | 
  delete | 
| ripple::SlabAllocatorSet< Type >::~SlabAllocatorSet | ( | ) | 
Definition at line 392 of file SlabAllocator.h.
      
  | 
  delete | 
      
  | 
  delete | 
      
  | 
  noexcept | 
Returns a suitably aligned pointer, if one is available.
| extra | The number of extra bytes, above and beyond the size of the object, that should be returned by the allocator. | 
Definition at line 405 of file SlabAllocator.h.
      
  | 
  noexcept | 
Returns the memory block to the allocator.
| ptr | A pointer to a memory block. | 
Definition at line 427 of file SlabAllocator.h.
      
  | 
  private | 
Definition at line 327 of file SlabAllocator.h.
      
  | 
  private | 
Definition at line 329 of file SlabAllocator.h.