|
emlabcpp
modern opinionated embedded C++ library
|
#include <allocator.h>
Public Types | |
| using | value_type = T |
Public Member Functions | |
| template<typename U > | |
| allocator (allocator< U > const &other) | |
| allocator (pmr::memory_resource &src) | |
| T * | allocate (std::size_t const n) |
| void | deallocate (T *const p, std::size_t const n) const |
| pmr::memory_resource & | get_resource () |
Friends | |
| template<typename U > | |
| class | allocator |
| constexpr friend bool | operator== (allocator const &lh, allocator const &rh) |
| using emlabcpp::pmr::allocator< T >::value_type = T |
|
inline |
|
inline |
|
inline |
References emlabcpp::res, and emlabcpp::pmr::throw_bad_alloc().
|
inline |
References emlabcpp::res, and emlabcpp::pmr::throw_bad_alloc().
|
inline |
|
friend |