• Home
  • Raw
  • Download

Lines Matching defs:allocator_traits

20565     struct allocator_traits : __allocator_traits_base  struct
20568 typedef _Alloc allocator_type;
20570 typedef typename _Alloc::value_type value_type;
20577 using pointer = __detected_or_t<value_type*, __pointer, _Alloc>;
20585 using const_pointer
20595 using void_pointer
20604 using const_void_pointer
20614 using difference_type
20624 using size_type
20634 using propagate_on_container_copy_assignment
20643 using propagate_on_container_move_assignment
20652 using propagate_on_container_swap
20661 using is_always_equal
20665 using rebind_alloc = __alloc_rebind<_Alloc, _Tp>;
20667 using rebind_traits = allocator_traits<rebind_alloc<_Tp>>;
20675 _S_allocate(_Alloc2& __a, size_type __n, const_void_pointer __hint, int) in _S_allocate()
20681 _S_allocate(_Alloc2& __a, size_type __n, const_void_pointer, ...) in _S_allocate()
20685 struct __construct_helper
20699 using __has_construct
20704 _S_construct(_Alloc& __a, _Tp* __p, _Args&&... __args) in _S_construct()
20711 _S_construct(_Alloc&, _Tp* __p, _Args&&... __args) in _S_construct()
20716 _S_destroy(_Alloc2& __a, _Tp* __p, int) in _S_destroy()
20722 _S_destroy(_Alloc2&, _Tp* __p, ...) in _S_destroy()
20727 _S_max_size(_Alloc2& __a, int) in _S_max_size()
20733 _S_max_size(_Alloc2&, ...) in _S_max_size()
20743 _S_select(_Alloc2& __a, int) in _S_select()
20749 _S_select(_Alloc2& __a, ...) in _S_select()
20755 allocate(_Alloc& __a, size_type __n) in allocate()
20759 allocate(_Alloc& __a, size_type __n, const_void_pointer __hint) in allocate()
20763 deallocate(_Alloc& __a, pointer __p, size_type __n) in deallocate()
20767 static auto construct(_Alloc& __a, _Tp* __p, _Args&&... __args) in construct()
20772 static void destroy(_Alloc& __a, _Tp* __p) in destroy()
20775 static size_type max_size(const _Alloc& __a) noexcept in max_size()
20779 select_on_container_copy_construction(const _Alloc& __rhs) in select_on_container_copy_construction()
20785 struct allocator_traits<allocator<_Tp>> struct
20788 using allocator_type = allocator<_Tp>;
20790 using value_type = _Tp;
20793 using pointer = _Tp*;
20796 using const_pointer = const _Tp*;
20799 using void_pointer = void*;
20802 using const_void_pointer = const void*;
20805 using difference_type = std::ptrdiff_t;
20808 using size_type = std::size_t;
20811 using propagate_on_container_copy_assignment = false_type;
20814 using propagate_on_container_move_assignment = true_type;
20817 using propagate_on_container_swap = false_type;
20820 using is_always_equal = true_type;
20823 using rebind_alloc = allocator<_Up>;
20826 using rebind_traits = allocator_traits<allocator<_Up>>;
20829 allocate(allocator_type& __a, size_type __n) in allocate()
20833 allocate(allocator_type& __a, size_type __n, const_void_pointer __hint) in allocate()
20837 deallocate(allocator_type& __a, pointer __p, size_type __n) in deallocate()
20842 construct(allocator_type& __a, _Up* __p, _Args&&... __args) in construct()
20847 destroy(allocator_type& __a, _Up* __p) in destroy()
20856 max_size(const allocator_type& __a) noexcept in max_size()
20865 select_on_container_copy_construction(const allocator_type& __rhs) in select_on_container_copy_construction()