diff options
author | Chris Robinson <[email protected]> | 2019-10-01 01:49:21 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-10-01 01:49:21 -0700 |
commit | 0063f4bfac96f35899d9dec4e273f5ed642b4358 (patch) | |
tree | d811d03b51ff3b4ffa8e64314e3e8256cca93fcc /common/almalloc.h | |
parent | 8f6fafd19a41f46eb82902da77f68a1d7b1f8215 (diff) |
Add some allocator fields GCC 6.3 seems to want
Diffstat (limited to 'common/almalloc.h')
-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> |