@@ -77,36 +77,36 @@ struct __has_storage_type<vector<bool, _Allocator> > {
77
77
template <class _Allocator >
78
78
class vector <bool , _Allocator> {
79
79
public:
80
- typedef vector __self;
81
- typedef bool value_type;
82
- typedef _Allocator allocator_type;
83
- typedef allocator_traits<allocator_type> __alloc_traits ;
84
- typedef typename __alloc_traits::size_type size_type;
85
- typedef typename __alloc_traits::difference_type difference_type;
86
- typedef size_type __storage_type;
87
- typedef __bit_iterator<vector, false > pointer ;
88
- typedef __bit_iterator<vector, true > const_pointer ;
89
- typedef pointer iterator;
90
- typedef const_pointer const_iterator;
91
- typedef std::reverse_iterator<iterator> reverse_iterator ;
92
- typedef std::reverse_iterator<const_iterator> const_reverse_iterator ;
80
+ using __self _LIBCPP_NODEBUG = vector ;
81
+ using value_type = bool ;
82
+ using allocator_type = _Allocator ;
83
+ using __alloc_traits _LIBCPP_NODEBUG = allocator_traits<allocator_type>;
84
+ using size_type = typename __alloc_traits::size_type;
85
+ using difference_type = typename __alloc_traits::difference_type;
86
+ using __storage_type _LIBCPP_NODEBUG = size_type ;
87
+ using pointer = __bit_iterator<vector, false >;
88
+ using const_pointer = __bit_iterator<vector, true >;
89
+ using iterator = pointer ;
90
+ using const_iterator = const_pointer ;
91
+ using reverse_iterator = std::reverse_iterator<iterator>;
92
+ using const_reverse_iterator = std::reverse_iterator<const_iterator>;
93
93
94
94
private:
95
- typedef __rebind_alloc<__alloc_traits, __storage_type> __storage_allocator ;
96
- typedef allocator_traits<__storage_allocator> __storage_traits ;
97
- typedef typename __storage_traits::pointer __storage_pointer ;
98
- typedef typename __storage_traits::const_pointer __const_storage_pointer ;
95
+ using __storage_allocator _LIBCPP_NODEBUG = __rebind_alloc<__alloc_traits, __storage_type>;
96
+ using __storage_traits _LIBCPP_NODEBUG = allocator_traits<__storage_allocator>;
97
+ using __storage_pointer _LIBCPP_NODEBUG = typename __storage_traits::pointer;
98
+ using __const_storage_pointer _LIBCPP_NODEBUG = typename __storage_traits::const_pointer;
99
99
100
100
__storage_pointer __begin_;
101
101
size_type __size_;
102
102
_LIBCPP_COMPRESSED_PAIR (size_type, __cap_, __storage_allocator, __alloc_);
103
103
104
104
public:
105
- typedef __bit_reference<vector> reference ;
105
+ using reference = __bit_reference<vector>;
106
106
#ifdef _LIBCPP_ABI_BITSET_VECTOR_BOOL_CONST_SUBSCRIPT_RETURN_BOOL
107
107
using const_reference = bool ;
108
108
#else
109
- typedef __bit_const_reference<vector> const_reference ;
109
+ using const_reference = __bit_const_reference<vector>;
110
110
#endif
111
111
112
112
private:
0 commit comments