29 #ifndef ASTROTYPES_STANDARDALLOCATOR_H
30 #define ASTROTYPES_STANDARDALLOCATOR_H
33 namespace astrotypes {
38 template<
typename LocalType>
63 ::operator
delete(pointer);
70 template<
typename FirstType,
typename SecondType>
79 template<
typename FirstType,
typename SecondType>
88 #endif // ASTROTYPES_STANDARDALLOCATOR_H
value_type * allocate(std::size_t size)
Allocate an area of contiguos memory.
bool operator!=(PointerAllocator< FirstType > const &, PointerAllocator< SecondType > const &) noexcept
Allows to test for diversity of PointerAllocator objects.
bool operator==(PointerAllocator< FirstType > const &, PointerAllocator< SecondType > const &) noexcept
Allows to test for equivalence of PointerAllocator objects.
StandardAllocator() noexcept=default
void deallocate(value_type *pointer, std::size_t) noexcept
Free a previously allocated memory area.