diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2017-12-06 23:48:54 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2017-12-06 23:48:54 +0300 |
commit | 0bd9ce5f39832a5aea80c5794d22a368462f9866 (patch) | |
tree | 53e6bc2731505530025b7ee06d44dc19deddda68 /include/afio/v2.0/utils.hpp | |
parent | 78e6849405301d703f266b4daaacbed52abd04eb (diff) |
delint
Diffstat (limited to 'include/afio/v2.0/utils.hpp')
-rw-r--r-- | include/afio/v2.0/utils.hpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/afio/v2.0/utils.hpp b/include/afio/v2.0/utils.hpp index 75e241b0..9c18bc72 100644 --- a/include/afio/v2.0/utils.hpp +++ b/include/afio/v2.0/utils.hpp @@ -205,19 +205,19 @@ namespace utils template <typename T> class page_allocator { public: - typedef T value_type; - typedef T *pointer; - typedef const T *const_pointer; - typedef T &reference; - typedef const T &const_reference; - typedef size_t size_type; - typedef ptrdiff_t difference_type; - typedef std::true_type propagate_on_container_move_assignment; - typedef std::true_type is_always_equal; + using value_type = T; + using pointer = T *; + using const_pointer = const T *; + using reference = T &; + using const_reference = const T &; + using size_type = size_t; + using difference_type = ptrdiff_t; + using propagate_on_container_move_assignment = std::true_type; + using is_always_equal = std::true_type; template <class U> struct rebind { - typedef page_allocator<U> other; + using other = page_allocator<U>; }; page_allocator() noexcept {} |