std::allocator, which also makes a vector over the bytes of a mapped file [see restoreMapped()]; an item constructed with no argument is value-initialized if \( V \), else left uninitialized (the numbers about to be written of a matrix)
More...
#include <ADS/external/MappedFile.h>
template<class T, bool V = true>
class ADS::MappableAllocator< T, V >
std::allocator, which also makes a vector over the bytes of a mapped file [see restoreMapped()]; an item constructed with no argument is value-initialized if \( V \), else left uninitialized (the numbers about to be written of a matrix)
◆ adopts_mapping
template<class T, bool V = true>
a vector on it may be a view of a mapped file
◆ is_always_equal
template<class T, bool V = true>
two allocators of different mappings differ
◆ propagate_on_container_move_assignment
template<class T, bool V = true>
the mapping goes with the memory
◆ propagate_on_container_swap
template<class T, bool V = true>
the mapping goes with the memory
◆ value_type
template<class T, bool V = true>
◆ MappableAllocator() [1/3]
template<class T, bool V = true>
an allocator of new memory only
◆ MappableAllocator() [2/3]
template<class T, bool V = true>
an allocator that takes the bytes that \( m \) offers
◆ MappableAllocator() [3/3]
template<class T, bool V = true>
template<class U>
◆ allocate()
template<class T, bool V = true>
◆ construct()
template<class T, bool V = true>
template<class U, class... A>
an item constructed with no argument over the mapping is left as the file has it (an item of a mapped array is trivially copyable, and there by the bytes of the file), any other one as \( V \) asks
◆ deallocate()
template<class T, bool V = true>
◆ select_on_container_copy_construction()
template<class T, bool V = true>
the allocator of a copy, of new memory only
◆ MappableAllocator
template<class T, bool V = true>
template<class U, bool W>
| friend class MappableAllocator |
|
friend |
◆ operator==
template<class T, bool V = true>
whether the two hold the same mapping, or none
The documentation for this class was generated from the following file: