alloc/null: add missing interface members

This commit is contained in:
Danny Robson 2016-02-10 14:04:08 +11:00
parent 8e4057cc56
commit 80e29f81b9

View File

@ -28,6 +28,12 @@ namespace util { namespace alloc {
public: public:
void* allocate (size_t bytes, size_t align = alignof (std::max_align_t)); void* allocate (size_t bytes, size_t align = alignof (std::max_align_t));
void deallocate (void *ptr, size_t bytes, size_t align = alignof (std::max_align_t)); void deallocate (void *ptr, size_t bytes, size_t align = alignof (std::max_align_t));
void reset (void) { ; }
constexpr size_t capacity (void) const { return 0u; }
constexpr size_t used (void) const { return 0u; }
constexpr size_t remain (void) const { return 0u; }
}; };
} } } }