diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/almalloc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/almalloc.h b/common/almalloc.h index e021337b..b844e5fc 100644 --- a/common/almalloc.h +++ b/common/almalloc.h @@ -70,6 +70,12 @@ namespace al { template<typename T, std::size_t alignment=alignof(T)> struct allocator { using value_type = T; + using reference = T&; + using const_reference = const T&; + using pointer = T*; + using const_pointer = const T*; + using size_type = std::size_t; + using difference_type = std::ptrdiff_t; using is_always_equal = std::true_type; template<typename U> |