Allocator functor adaptor. More...
#include <mng.h>
Public Member Functions | |
| offset_allocator (int_type offset_) | |
Creates functor based on BaseAllocator_ functor created with default constructor with offset offset_. | |
| offset_allocator (int_type offset_, BaseAllocator_ &base_) | |
Creates functor based on instance of BaseAllocator_ functor with offset offset_. | |
Allocator functor adaptor.
Gives offset to disk number sequence defined in constructor
| offset_allocator< BaseAllocator_ >::offset_allocator | ( | int_type | offset_ | ) | [inline] |
Creates functor based on BaseAllocator_ functor created with default constructor with offset offset_.
| offset_ | offset |
| offset_allocator< BaseAllocator_ >::offset_allocator | ( | int_type | offset_, | |
| BaseAllocator_ & | base_ | |||
| ) | [inline] |
Creates functor based on instance of BaseAllocator_ functor with offset offset_.
| offset_ | offset | |
| base_ | used to create a copy |
1.7.1