Symbol: _Tp
headers/cpp/std/gslice.h
65
template<typename _Tp> friend class valarray;
headers/cpp/std/gslice_array.h
101
template<typename _Tp>
headers/cpp/std/gslice_array.h
103
gslice_array<_Tp>::gslice_array (const gslice_array<_Tp>& __a)
headers/cpp/std/gslice_array.h
107
template<typename _Tp>
headers/cpp/std/gslice_array.h
109
gslice_array<_Tp>::operator= (const _Tp& __t)
headers/cpp/std/gslice_array.h
115
template<typename _Tp>
headers/cpp/std/gslice_array.h
117
gslice_array<_Tp>::operator= (const valarray<_Tp>& __v) const
headers/cpp/std/gslice_array.h
119
__valarray_copy (_Array<_Tp> (__v), __v.size (),
headers/cpp/std/gslice_array.h
123
template<typename _Tp>
headers/cpp/std/gslice_array.h
126
gslice_array<_Tp>::operator= (const _Expr<E, _Tp>& __e) const
headers/cpp/std/gslice_array.h
134
template<typename _Tp> \
headers/cpp/std/gslice_array.h
136
gslice_array<_Tp>::operator##op##= (const valarray<_Tp>& __v) const \
headers/cpp/std/gslice_array.h
139
_Array<_Tp> (__v), __v.size ()); \
headers/cpp/std/gslice_array.h
142
template<typename _Tp> template<class E> \
headers/cpp/std/gslice_array.h
144
gslice_array<_Tp>::operator##op##= (const _Expr<E, _Tp>& __e) const \
headers/cpp/std/gslice_array.h
37
template<typename _Tp> class gslice_array
headers/cpp/std/gslice_array.h
40
typedef _Tp value_type;
headers/cpp/std/gslice_array.h
42
void operator= (const valarray<_Tp>&) const;
headers/cpp/std/gslice_array.h
43
void operator*= (const valarray<_Tp>&) const;
headers/cpp/std/gslice_array.h
44
void operator/= (const valarray<_Tp>&) const;
headers/cpp/std/gslice_array.h
45
void operator%= (const valarray<_Tp>&) const;
headers/cpp/std/gslice_array.h
46
void operator+= (const valarray<_Tp>&) const;
headers/cpp/std/gslice_array.h
47
void operator-= (const valarray<_Tp>&) const;
headers/cpp/std/gslice_array.h
48
void operator^= (const valarray<_Tp>&) const;
headers/cpp/std/gslice_array.h
49
void operator&= (const valarray<_Tp>&) const;
headers/cpp/std/gslice_array.h
50
void operator|= (const valarray<_Tp>&) const;
headers/cpp/std/gslice_array.h
51
void operator<<=(const valarray<_Tp>&) const;
headers/cpp/std/gslice_array.h
52
void operator>>=(const valarray<_Tp>&) const;
headers/cpp/std/gslice_array.h
53
void operator=(const _Tp&);
headers/cpp/std/gslice_array.h
56
void operator= (const _Expr<_Dom,_Tp>&) const;
headers/cpp/std/gslice_array.h
58
void operator*= (const _Expr<_Dom,_Tp>&) const;
headers/cpp/std/gslice_array.h
60
void operator/= (const _Expr<_Dom,_Tp>&) const;
headers/cpp/std/gslice_array.h
62
void operator%= (const _Expr<_Dom,_Tp>&) const;
headers/cpp/std/gslice_array.h
64
void operator+= (const _Expr<_Dom,_Tp>&) const;
headers/cpp/std/gslice_array.h
66
void operator-= (const _Expr<_Dom,_Tp>&) const;
headers/cpp/std/gslice_array.h
68
void operator^= (const _Expr<_Dom,_Tp>&) const;
headers/cpp/std/gslice_array.h
70
void operator&= (const _Expr<_Dom,_Tp>&) const;
headers/cpp/std/gslice_array.h
72
void operator|= (const _Expr<_Dom,_Tp>&) const;
headers/cpp/std/gslice_array.h
74
void operator<<= (const _Expr<_Dom,_Tp>&) const;
headers/cpp/std/gslice_array.h
76
void operator>>= (const _Expr<_Dom,_Tp>&) const;
headers/cpp/std/gslice_array.h
79
_Array<_Tp> _M_array;
headers/cpp/std/gslice_array.h
82
friend class valarray<_Tp>;
headers/cpp/std/gslice_array.h
84
gslice_array (_Array<_Tp>, const valarray<size_t>&);
headers/cpp/std/gslice_array.h
94
template<typename _Tp>
headers/cpp/std/gslice_array.h
96
gslice_array<_Tp>::gslice_array (_Array<_Tp> __a,
headers/cpp/std/indirect_array.h
101
indirect_array<_Tp>::indirect_array (_Array<_Tp> __a, size_t __s,
headers/cpp/std/indirect_array.h
106
template<typename _Tp>
headers/cpp/std/indirect_array.h
108
indirect_array<_Tp>::operator= (const _Tp& __t)
headers/cpp/std/indirect_array.h
111
template<typename _Tp>
headers/cpp/std/indirect_array.h
113
indirect_array<_Tp>::operator= (const valarray<_Tp>& __v) const
headers/cpp/std/indirect_array.h
114
{ __valarray_copy (_Array<_Tp> (__v), _M_sz, _M_array, _M_index); }
headers/cpp/std/indirect_array.h
116
template<typename _Tp>
headers/cpp/std/indirect_array.h
119
indirect_array<_Tp>::operator= (const _Expr<_Dom,_Tp>& __e) const
headers/cpp/std/indirect_array.h
124
template<typename _Tp> \
headers/cpp/std/indirect_array.h
126
indirect_array<_Tp>::operator##op##= (const valarray<_Tp>& __v) const \
headers/cpp/std/indirect_array.h
128
_Array_augmented_##name (_M_array, _M_index, _Array<_Tp> (__v), _M_sz); \
headers/cpp/std/indirect_array.h
131
template<typename _Tp> template<class _Dom> \
headers/cpp/std/indirect_array.h
133
indirect_array<_Tp>::operator##op##= (const _Expr<_Dom,_Tp>& __e) const \
headers/cpp/std/indirect_array.h
37
template <class _Tp> class indirect_array
headers/cpp/std/indirect_array.h
40
typedef _Tp value_type;
headers/cpp/std/indirect_array.h
42
void operator= (const valarray<_Tp>&) const;
headers/cpp/std/indirect_array.h
43
void operator*= (const valarray<_Tp>&) const;
headers/cpp/std/indirect_array.h
44
void operator/= (const valarray<_Tp>&) const;
headers/cpp/std/indirect_array.h
45
void operator%= (const valarray<_Tp>&) const;
headers/cpp/std/indirect_array.h
46
void operator+= (const valarray<_Tp>&) const;
headers/cpp/std/indirect_array.h
47
void operator-= (const valarray<_Tp>&) const;
headers/cpp/std/indirect_array.h
48
void operator^= (const valarray<_Tp>&) const;
headers/cpp/std/indirect_array.h
49
void operator&= (const valarray<_Tp>&) const;
headers/cpp/std/indirect_array.h
50
void operator|= (const valarray<_Tp>&) const;
headers/cpp/std/indirect_array.h
51
void operator<<= (const valarray<_Tp>&) const;
headers/cpp/std/indirect_array.h
52
void operator>>= (const valarray<_Tp>&) const;
headers/cpp/std/indirect_array.h
53
void operator= (const _Tp&);
headers/cpp/std/indirect_array.h
56
void operator= (const _Expr<_Dom, _Tp>&) const;
headers/cpp/std/indirect_array.h
58
void operator*= (const _Expr<_Dom, _Tp>&) const;
headers/cpp/std/indirect_array.h
60
void operator/= (const _Expr<_Dom, _Tp>&) const;
headers/cpp/std/indirect_array.h
62
void operator%= (const _Expr<_Dom, _Tp>&) const;
headers/cpp/std/indirect_array.h
64
void operator+= (const _Expr<_Dom, _Tp>&) const;
headers/cpp/std/indirect_array.h
66
void operator-= (const _Expr<_Dom, _Tp>&) const;
headers/cpp/std/indirect_array.h
68
void operator^= (const _Expr<_Dom, _Tp>&) const;
headers/cpp/std/indirect_array.h
70
void operator&= (const _Expr<_Dom, _Tp>&) const;
headers/cpp/std/indirect_array.h
72
void operator|= (const _Expr<_Dom, _Tp>&) const;
headers/cpp/std/indirect_array.h
74
void operator<<= (const _Expr<_Dom, _Tp>&) const;
headers/cpp/std/indirect_array.h
76
void operator>>= (const _Expr<_Dom, _Tp>&) const;
headers/cpp/std/indirect_array.h
80
indirect_array (_Array<_Tp>, size_t, _Array<size_t>);
headers/cpp/std/indirect_array.h
82
friend class valarray<_Tp>;
headers/cpp/std/indirect_array.h
83
friend class gslice_array<_Tp>;
headers/cpp/std/indirect_array.h
87
const _Array<_Tp> _M_array;
headers/cpp/std/indirect_array.h
94
template<typename _Tp>
headers/cpp/std/indirect_array.h
95
inline indirect_array<_Tp>::indirect_array(const indirect_array<_Tp>& __a)
headers/cpp/std/indirect_array.h
99
template<typename _Tp>
headers/cpp/std/mask_array.h
93
template<typename _Tp>
headers/cpp/std/mask_array.h
94
inline mask_array<_Tp>::mask_array (const mask_array<_Tp>& a)
headers/cpp/std/slice_array.h
100
template<typename _Tp>
headers/cpp/std/slice_array.h
101
inline slice_array<_Tp>::slice_array(const slice_array<_Tp>& a)
headers/cpp/std/std_valarray.h
100
template<class _Tp> struct _Shift_right;
headers/cpp/std/std_valarray.h
102
template<class _Tp> class valarray; // An array of type _Tp
headers/cpp/std/std_valarray.h
104
template<class _Tp> class slice_array;
headers/cpp/std/std_valarray.h
106
template<class _Tp> class gslice_array;
headers/cpp/std/std_valarray.h
107
template<class _Tp> class mask_array; // masked array
headers/cpp/std/std_valarray.h
108
template<class _Tp> class indirect_array; // indirected array
headers/cpp/std/std_valarray.h
117
template<class _Tp> class valarray
headers/cpp/std/std_valarray.h
120
typedef _Tp value_type;
headers/cpp/std/std_valarray.h
125
valarray(const _Tp&, size_t);
headers/cpp/std/std_valarray.h
126
valarray(const _Tp* __restrict__, size_t);
headers/cpp/std/std_valarray.h
128
valarray(const slice_array<_Tp>&);
headers/cpp/std/std_valarray.h
129
valarray(const gslice_array<_Tp>&);
headers/cpp/std/std_valarray.h
130
valarray(const mask_array<_Tp>&);
headers/cpp/std/std_valarray.h
131
valarray(const indirect_array<_Tp>&);
headers/cpp/std/std_valarray.h
133
valarray(const _Expr<_Dom,_Tp>& __e);
headers/cpp/std/std_valarray.h
137
valarray<_Tp>& operator=(const valarray<_Tp>&);
headers/cpp/std/std_valarray.h
138
valarray<_Tp>& operator=(const _Tp&);
headers/cpp/std/std_valarray.h
139
valarray<_Tp>& operator=(const slice_array<_Tp>&);
headers/cpp/std/std_valarray.h
140
valarray<_Tp>& operator=(const gslice_array<_Tp>&);
headers/cpp/std/std_valarray.h
141
valarray<_Tp>& operator=(const mask_array<_Tp>&);
headers/cpp/std/std_valarray.h
142
valarray<_Tp>& operator=(const indirect_array<_Tp>&);
headers/cpp/std/std_valarray.h
144
template<class _Dom> valarray<_Tp>&
headers/cpp/std/std_valarray.h
145
operator= (const _Expr<_Dom,_Tp>&);
headers/cpp/std/std_valarray.h
148
_Tp operator[](size_t) const;
headers/cpp/std/std_valarray.h
149
_Tp& operator[](size_t);
headers/cpp/std/std_valarray.h
151
_Expr<_SClos<_ValArray,_Tp>, _Tp> operator[](slice) const;
headers/cpp/std/std_valarray.h
152
slice_array<_Tp> operator[](slice);
headers/cpp/std/std_valarray.h
153
_Expr<_GClos<_ValArray,_Tp>, _Tp> operator[](const gslice&) const;
headers/cpp/std/std_valarray.h
154
gslice_array<_Tp> operator[](const gslice&);
headers/cpp/std/std_valarray.h
155
valarray<_Tp> operator[](const valarray<bool>&) const;
headers/cpp/std/std_valarray.h
156
mask_array<_Tp> operator[](const valarray<bool>&);
headers/cpp/std/std_valarray.h
157
_Expr<_IClos<_ValArray, _Tp>, _Tp>
headers/cpp/std/std_valarray.h
159
indirect_array<_Tp> operator[](const valarray<size_t>&);
headers/cpp/std/std_valarray.h
162
_Expr<_UnClos<_Unary_plus,_ValArray,_Tp>,_Tp> operator+ () const;
headers/cpp/std/std_valarray.h
163
_Expr<_UnClos<negate,_ValArray,_Tp>,_Tp> operator- () const;
headers/cpp/std/std_valarray.h
164
_Expr<_UnClos<_Bitwise_not,_ValArray,_Tp>,_Tp> operator~ () const;
headers/cpp/std/std_valarray.h
165
_Expr<_UnClos<logical_not,_ValArray,_Tp>,bool> operator! () const;
headers/cpp/std/std_valarray.h
168
valarray<_Tp>& operator*= (const _Tp&);
headers/cpp/std/std_valarray.h
169
valarray<_Tp>& operator/= (const _Tp&);
headers/cpp/std/std_valarray.h
170
valarray<_Tp>& operator%= (const _Tp&);
headers/cpp/std/std_valarray.h
171
valarray<_Tp>& operator+= (const _Tp&);
headers/cpp/std/std_valarray.h
172
valarray<_Tp>& operator-= (const _Tp&);
headers/cpp/std/std_valarray.h
173
valarray<_Tp>& operator^= (const _Tp&);
headers/cpp/std/std_valarray.h
174
valarray<_Tp>& operator&= (const _Tp&);
headers/cpp/std/std_valarray.h
175
valarray<_Tp>& operator|= (const _Tp&);
headers/cpp/std/std_valarray.h
176
valarray<_Tp>& operator<<=(const _Tp&);
headers/cpp/std/std_valarray.h
177
valarray<_Tp>& operator>>=(const _Tp&);
headers/cpp/std/std_valarray.h
178
valarray<_Tp>& operator*= (const valarray<_Tp>&);
headers/cpp/std/std_valarray.h
179
valarray<_Tp>& operator/= (const valarray<_Tp>&);
headers/cpp/std/std_valarray.h
180
valarray<_Tp>& operator%= (const valarray<_Tp>&);
headers/cpp/std/std_valarray.h
181
valarray<_Tp>& operator+= (const valarray<_Tp>&);
headers/cpp/std/std_valarray.h
182
valarray<_Tp>& operator-= (const valarray<_Tp>&);
headers/cpp/std/std_valarray.h
183
valarray<_Tp>& operator^= (const valarray<_Tp>&);
headers/cpp/std/std_valarray.h
184
valarray<_Tp>& operator|= (const valarray<_Tp>&);
headers/cpp/std/std_valarray.h
185
valarray<_Tp>& operator&= (const valarray<_Tp>&);
headers/cpp/std/std_valarray.h
186
valarray<_Tp>& operator<<=(const valarray<_Tp>&);
headers/cpp/std/std_valarray.h
187
valarray<_Tp>& operator>>=(const valarray<_Tp>&);
headers/cpp/std/std_valarray.h
190
valarray<_Tp>& operator*= (const _Expr<_Dom,_Tp>&);
headers/cpp/std/std_valarray.h
192
valarray<_Tp>& operator/= (const _Expr<_Dom,_Tp>&);
headers/cpp/std/std_valarray.h
194
valarray<_Tp>& operator%= (const _Expr<_Dom,_Tp>&);
headers/cpp/std/std_valarray.h
196
valarray<_Tp>& operator+= (const _Expr<_Dom,_Tp>&);
headers/cpp/std/std_valarray.h
198
valarray<_Tp>& operator-= (const _Expr<_Dom,_Tp>&);
headers/cpp/std/std_valarray.h
200
valarray<_Tp>& operator^= (const _Expr<_Dom,_Tp>&);
headers/cpp/std/std_valarray.h
202
valarray<_Tp>& operator|= (const _Expr<_Dom,_Tp>&);
headers/cpp/std/std_valarray.h
204
valarray<_Tp>& operator&= (const _Expr<_Dom,_Tp>&);
headers/cpp/std/std_valarray.h
206
valarray<_Tp>& operator<<=(const _Expr<_Dom,_Tp>&);
headers/cpp/std/std_valarray.h
208
valarray<_Tp>& operator>>=(const _Expr<_Dom,_Tp>&);
headers/cpp/std/std_valarray.h
213
_Tp sum() const;
headers/cpp/std/std_valarray.h
214
_Tp min() const;
headers/cpp/std/std_valarray.h
215
_Tp max() const;
headers/cpp/std/std_valarray.h
218
_Tp product () const;
headers/cpp/std/std_valarray.h
220
valarray<_Tp> shift (int) const;
headers/cpp/std/std_valarray.h
221
valarray<_Tp> cshift(int) const;
headers/cpp/std/std_valarray.h
222
_Expr<_ValFunClos<_ValArray,_Tp>,_Tp> apply(_Tp func(_Tp)) const;
headers/cpp/std/std_valarray.h
223
_Expr<_RefFunClos<_ValArray,_Tp>,_Tp> apply(_Tp func(const _Tp&)) const;
headers/cpp/std/std_valarray.h
224
void resize(size_t __size, _Tp __c = _Tp());
headers/cpp/std/std_valarray.h
228
_Tp* __restrict__ _M_data;
headers/cpp/std/std_valarray.h
230
friend class _Array<_Tp>;
headers/cpp/std/std_valarray.h
234
template<typename _Tp> struct _Unary_plus : unary_function<_Tp,_Tp> {
headers/cpp/std/std_valarray.h
235
_Tp operator() (const _Tp& __t) const { return __t; }
headers/cpp/std/std_valarray.h
238
template<typename _Tp> struct _Bitwise_and : binary_function<_Tp,_Tp,_Tp> {
headers/cpp/std/std_valarray.h
239
_Tp operator() (_Tp __x, _Tp __y) const { return __x & __y; }
headers/cpp/std/std_valarray.h
242
template<typename _Tp> struct _Bitwise_or : binary_function<_Tp,_Tp,_Tp> {
headers/cpp/std/std_valarray.h
243
_Tp operator() (_Tp __x, _Tp __y) const { return __x | __y; }
headers/cpp/std/std_valarray.h
246
template<typename _Tp> struct _Bitwise_xor : binary_function<_Tp,_Tp,_Tp> {
headers/cpp/std/std_valarray.h
247
_Tp operator() (_Tp __x, _Tp __y) const { return __x ^ __y; }
headers/cpp/std/std_valarray.h
250
template<typename _Tp> struct _Bitwise_not : unary_function<_Tp,_Tp> {
headers/cpp/std/std_valarray.h
251
_Tp operator() (_Tp __t) const { return ~__t; }
headers/cpp/std/std_valarray.h
254
template<typename _Tp> struct _Shift_left : unary_function<_Tp,_Tp> {
headers/cpp/std/std_valarray.h
255
_Tp operator() (_Tp __x, _Tp __y) const { return __x << __y; }
headers/cpp/std/std_valarray.h
258
template<typename _Tp> struct _Shift_right : unary_function<_Tp,_Tp> {
headers/cpp/std/std_valarray.h
259
_Tp operator() (_Tp __x, _Tp __y) const { return __x >> __y; }
headers/cpp/std/std_valarray.h
263
template<typename _Tp>
headers/cpp/std/std_valarray.h
264
inline _Tp
headers/cpp/std/std_valarray.h
265
valarray<_Tp>::operator[] (size_t __i) const
headers/cpp/std/std_valarray.h
268
template<typename _Tp>
headers/cpp/std/std_valarray.h
269
inline _Tp&
headers/cpp/std/std_valarray.h
270
valarray<_Tp>::operator[] (size_t __i)
headers/cpp/std/std_valarray.h
284
template<typename _Tp>
headers/cpp/std/std_valarray.h
285
inline valarray<_Tp>::valarray () : _M_size (0), _M_data (0) {}
headers/cpp/std/std_valarray.h
287
template<typename _Tp>
headers/cpp/std/std_valarray.h
288
inline valarray<_Tp>::valarray (size_t __n)
headers/cpp/std/std_valarray.h
289
: _M_size (__n), _M_data (new _Tp[__n]) {}
headers/cpp/std/std_valarray.h
291
template<typename _Tp>
headers/cpp/std/std_valarray.h
292
inline valarray<_Tp>::valarray (const _Tp& __t, size_t __n)
headers/cpp/std/std_valarray.h
293
: _M_size (__n), _M_data (new _Tp[__n])
headers/cpp/std/std_valarray.h
296
template<typename _Tp>
headers/cpp/std/std_valarray.h
297
inline valarray<_Tp>::valarray (const _Tp* __restrict__ __pT, size_t __n)
headers/cpp/std/std_valarray.h
298
: _M_size (__n), _M_data (new _Tp[__n])
headers/cpp/std/std_valarray.h
301
template<typename _Tp>
headers/cpp/std/std_valarray.h
302
inline valarray<_Tp>::valarray (const valarray<_Tp>& __v)
headers/cpp/std/std_valarray.h
303
: _M_size (__v._M_size), _M_data (new _Tp[__v._M_size])
headers/cpp/std/std_valarray.h
306
template<typename _Tp>
headers/cpp/std/std_valarray.h
307
inline valarray<_Tp>::valarray (const slice_array<_Tp>& __sa)
headers/cpp/std/std_valarray.h
308
: _M_size (__sa._M_sz), _M_data (new _Tp[__sa._M_sz])
headers/cpp/std/std_valarray.h
310
_Array<_Tp>(_M_data)); }
headers/cpp/std/std_valarray.h
312
template<typename _Tp>
headers/cpp/std/std_valarray.h
313
inline valarray<_Tp>::valarray (const gslice_array<_Tp>& __ga)
headers/cpp/std/std_valarray.h
314
: _M_size (__ga._M_index.size()), _M_data (new _Tp[_M_size])
headers/cpp/std/std_valarray.h
316
_Array<_Tp>(_M_data), _M_size); }
headers/cpp/std/std_valarray.h
318
template<typename _Tp>
headers/cpp/std/std_valarray.h
319
inline valarray<_Tp>::valarray (const mask_array<_Tp>& __ma)
headers/cpp/std/std_valarray.h
320
: _M_size (__ma._M_sz), _M_data (new _Tp[__ma._M_sz])
headers/cpp/std/std_valarray.h
322
_Array<_Tp>(_M_data), _M_size); }
headers/cpp/std/std_valarray.h
324
template<typename _Tp>
headers/cpp/std/std_valarray.h
325
inline valarray<_Tp>::valarray (const indirect_array<_Tp>& __ia)
headers/cpp/std/std_valarray.h
326
: _M_size (__ia._M_sz), _M_data (new _Tp[__ia._M_sz])
headers/cpp/std/std_valarray.h
328
_Array<_Tp>(_M_data), _M_size); }
headers/cpp/std/std_valarray.h
330
template<typename _Tp> template<class _Dom>
headers/cpp/std/std_valarray.h
331
inline valarray<_Tp>::valarray (const _Expr<_Dom, _Tp>& __e)
headers/cpp/std/std_valarray.h
332
: _M_size (__e.size ()), _M_data (new _Tp[_M_size])
headers/cpp/std/std_valarray.h
333
{ __valarray_copy (__e, _M_size, _Array<_Tp>(_M_data)); }
headers/cpp/std/std_valarray.h
335
template<typename _Tp>
headers/cpp/std/std_valarray.h
336
inline valarray<_Tp>::~valarray () { delete[] _M_data; }
headers/cpp/std/std_valarray.h
338
template<typename _Tp>
headers/cpp/std/std_valarray.h
339
inline valarray<_Tp>&
headers/cpp/std/std_valarray.h
340
valarray<_Tp>::operator= (const valarray<_Tp>& __v)
headers/cpp/std/std_valarray.h
346
template<typename _Tp>
headers/cpp/std/std_valarray.h
347
inline valarray<_Tp>&
headers/cpp/std/std_valarray.h
348
valarray<_Tp>::operator= (const _Tp& __t)
headers/cpp/std/std_valarray.h
354
template<typename _Tp>
headers/cpp/std/std_valarray.h
355
inline valarray<_Tp>&
headers/cpp/std/std_valarray.h
356
valarray<_Tp>::operator= (const slice_array<_Tp>& __sa)
headers/cpp/std/std_valarray.h
359
__sa._M_stride, _Array<_Tp>(_M_data));
headers/cpp/std/std_valarray.h
363
template<typename _Tp>
headers/cpp/std/std_valarray.h
364
inline valarray<_Tp>&
headers/cpp/std/std_valarray.h
365
valarray<_Tp>::operator= (const gslice_array<_Tp>& __ga)
headers/cpp/std/std_valarray.h
368
_Array<_Tp>(_M_data), _M_size);
headers/cpp/std/std_valarray.h
372
template<typename _Tp>
headers/cpp/std/std_valarray.h
373
inline valarray<_Tp>&
headers/cpp/std/std_valarray.h
374
valarray<_Tp>::operator= (const mask_array<_Tp>& __ma)
headers/cpp/std/std_valarray.h
377
_Array<_Tp>(_M_data), _M_size);
headers/cpp/std/std_valarray.h
381
template<typename _Tp>
headers/cpp/std/std_valarray.h
382
inline valarray<_Tp>&
headers/cpp/std/std_valarray.h
383
valarray<_Tp>::operator= (const indirect_array<_Tp>& __ia)
headers/cpp/std/std_valarray.h
386
_Array<_Tp>(_M_data), _M_size);
headers/cpp/std/std_valarray.h
390
template<typename _Tp> template<class _Dom>
headers/cpp/std/std_valarray.h
391
inline valarray<_Tp>&
headers/cpp/std/std_valarray.h
392
valarray<_Tp>::operator= (const _Expr<_Dom, _Tp>& __e)
headers/cpp/std/std_valarray.h
394
__valarray_copy (__e, _M_size, _Array<_Tp>(_M_data));
headers/cpp/std/std_valarray.h
398
template<typename _Tp>
headers/cpp/std/std_valarray.h
399
inline _Expr<_SClos<_ValArray,_Tp>, _Tp>
headers/cpp/std/std_valarray.h
400
valarray<_Tp>::operator[] (slice __s) const
headers/cpp/std/std_valarray.h
402
typedef _SClos<_ValArray,_Tp> _Closure;
headers/cpp/std/std_valarray.h
403
return _Expr<_Closure, _Tp> (_Closure (_Array<_Tp>(_M_data), __s));
headers/cpp/std/std_valarray.h
406
template<typename _Tp>
headers/cpp/std/std_valarray.h
407
inline slice_array<_Tp>
headers/cpp/std/std_valarray.h
408
valarray<_Tp>::operator[] (slice __s)
headers/cpp/std/std_valarray.h
410
return slice_array<_Tp> (_Array<_Tp>(_M_data), __s);
headers/cpp/std/std_valarray.h
413
template<typename _Tp>
headers/cpp/std/std_valarray.h
414
inline _Expr<_GClos<_ValArray,_Tp>, _Tp>
headers/cpp/std/std_valarray.h
415
valarray<_Tp>::operator[] (const gslice& __gs) const
headers/cpp/std/std_valarray.h
417
typedef _GClos<_ValArray,_Tp> _Closure;
headers/cpp/std/std_valarray.h
418
return _Expr<_Closure, _Tp>
headers/cpp/std/std_valarray.h
419
(_Closure (_Array<_Tp>(_M_data), __gs._M_index->_M_index));
headers/cpp/std/std_valarray.h
422
template<typename _Tp>
headers/cpp/std/std_valarray.h
423
inline gslice_array<_Tp>
headers/cpp/std/std_valarray.h
424
valarray<_Tp>::operator[] (const gslice& __gs)
headers/cpp/std/std_valarray.h
426
return gslice_array<_Tp>
headers/cpp/std/std_valarray.h
427
(_Array<_Tp>(_M_data), __gs._M_index->_M_index);
headers/cpp/std/std_valarray.h
430
template<typename _Tp>
headers/cpp/std/std_valarray.h
431
inline valarray<_Tp>
headers/cpp/std/std_valarray.h
432
valarray<_Tp>::operator[] (const valarray<bool>& __m) const
headers/cpp/std/std_valarray.h
438
return valarray<_Tp> (mask_array<_Tp> (_Array<_Tp>(_M_data), __s,
headers/cpp/std/std_valarray.h
442
template<typename _Tp>
headers/cpp/std/std_valarray.h
443
inline mask_array<_Tp>
headers/cpp/std/std_valarray.h
444
valarray<_Tp>::operator[] (const valarray<bool>& __m)
headers/cpp/std/std_valarray.h
450
return mask_array<_Tp> (_Array<_Tp>(_M_data), __s, _Array<bool> (__m));
headers/cpp/std/std_valarray.h
453
template<typename _Tp>
headers/cpp/std/std_valarray.h
454
inline _Expr<_IClos<_ValArray,_Tp>, _Tp>
headers/cpp/std/std_valarray.h
455
valarray<_Tp>::operator[] (const valarray<size_t>& __i) const
headers/cpp/std/std_valarray.h
457
typedef _IClos<_ValArray,_Tp> _Closure;
headers/cpp/std/std_valarray.h
458
return _Expr<_Closure, _Tp> (_Closure (*this, __i));
headers/cpp/std/std_valarray.h
461
template<typename _Tp>
headers/cpp/std/std_valarray.h
462
inline indirect_array<_Tp>
headers/cpp/std/std_valarray.h
463
valarray<_Tp>::operator[] (const valarray<size_t>& __i)
headers/cpp/std/std_valarray.h
465
return indirect_array<_Tp> (_Array<_Tp>(_M_data), __i.size(),
headers/cpp/std/std_valarray.h
469
template<class _Tp>
headers/cpp/std/std_valarray.h
470
inline size_t valarray<_Tp>::size () const { return _M_size; }
headers/cpp/std/std_valarray.h
472
template<class _Tp>
headers/cpp/std/std_valarray.h
473
inline _Tp
headers/cpp/std/std_valarray.h
474
valarray<_Tp>::sum () const
headers/cpp/std/std_valarray.h
476
return accumulate (_M_data, _M_data + _M_size, _Tp ());
headers/cpp/std/std_valarray.h
479
template<typename _Tp>
headers/cpp/std/std_valarray.h
480
inline _Tp
headers/cpp/std/std_valarray.h
481
valarray<_Tp>::product () const
headers/cpp/std/std_valarray.h
483
return accumulate (_M_data, _M_data+_M_size, _Tp(1), multiplies<_Tp> ());
headers/cpp/std/std_valarray.h
486
template <class _Tp>
headers/cpp/std/std_valarray.h
487
inline valarray<_Tp>
headers/cpp/std/std_valarray.h
488
valarray<_Tp>::shift (int __n) const
headers/cpp/std/std_valarray.h
490
_Tp* const __a = static_cast<_Tp*> (alloca (sizeof(_Tp) * _M_size));
headers/cpp/std/std_valarray.h
495
__valarray_fill(__a, __n, _Tp());
headers/cpp/std/std_valarray.h
498
__valarray_fill (__a+_M_size-__n, __n, _Tp());
headers/cpp/std/std_valarray.h
503
__valarray_fill(__a, -__n, _Tp());
headers/cpp/std/std_valarray.h
505
return valarray<_Tp> (__a, _M_size);
headers/cpp/std/std_valarray.h
508
template <class _Tp>
headers/cpp/std/std_valarray.h
509
inline valarray<_Tp>
headers/cpp/std/std_valarray.h
510
valarray<_Tp>::cshift (int __n) const
headers/cpp/std/std_valarray.h
512
_Tp* const __a = static_cast<_Tp*> (alloca (sizeof(_Tp) * _M_size));
headers/cpp/std/std_valarray.h
523
return valarray<_Tp> (__a, _M_size);
headers/cpp/std/std_valarray.h
526
template <class _Tp>
headers/cpp/std/std_valarray.h
528
valarray<_Tp>::resize (size_t __n, _Tp __c)
headers/cpp/std/std_valarray.h
533
_M_data = new _Tp[_M_size];
headers/cpp/std/std_valarray.h
538
template<typename _Tp>
headers/cpp/std/std_valarray.h
539
inline _Tp
headers/cpp/std/std_valarray.h
540
valarray<_Tp>::min() const
headers/cpp/std/std_valarray.h
545
template<typename _Tp>
headers/cpp/std/std_valarray.h
546
inline _Tp
headers/cpp/std/std_valarray.h
547
valarray<_Tp>::max() const
headers/cpp/std/std_valarray.h
552
template<class _Tp>
headers/cpp/std/std_valarray.h
553
inline _Expr<_ValFunClos<_ValArray,_Tp>,_Tp>
headers/cpp/std/std_valarray.h
554
valarray<_Tp>::apply (_Tp func (_Tp)) const
headers/cpp/std/std_valarray.h
556
typedef _ValFunClos<_ValArray,_Tp> _Closure;
headers/cpp/std/std_valarray.h
557
return _Expr<_Closure,_Tp> (_Closure (*this, func));
headers/cpp/std/std_valarray.h
560
template<class _Tp>
headers/cpp/std/std_valarray.h
561
inline _Expr<_RefFunClos<_ValArray,_Tp>,_Tp>
headers/cpp/std/std_valarray.h
562
valarray<_Tp>::apply (_Tp func (const _Tp &)) const
headers/cpp/std/std_valarray.h
564
typedef _RefFunClos<_ValArray,_Tp> _Closure;
headers/cpp/std/std_valarray.h
565
return _Expr<_Closure,_Tp> (_Closure (*this, func));
headers/cpp/std/std_valarray.h
569
template<typename _Tp> \
headers/cpp/std/std_valarray.h
570
inline _Expr<_UnClos<_Name,_ValArray,_Tp>, _Tp> \
headers/cpp/std/std_valarray.h
571
valarray<_Tp>::operator##_Op() const \
headers/cpp/std/std_valarray.h
573
typedef _UnClos<_Name,_ValArray,_Tp> _Closure; \
headers/cpp/std/std_valarray.h
574
return _Expr<_Closure, _Tp> (_Closure (*this)); \
headers/cpp/std/std_valarray.h
583
template<typename _Tp>
headers/cpp/std/std_valarray.h
584
inline _Expr<_UnClos<logical_not,_ValArray,_Tp>, bool>
headers/cpp/std/std_valarray.h
585
valarray<_Tp>::operator!() const
headers/cpp/std/std_valarray.h
587
typedef _UnClos<logical_not,_ValArray,_Tp> _Closure;
headers/cpp/std/std_valarray.h
592
template<class _Tp> \
headers/cpp/std/std_valarray.h
593
inline valarray<_Tp> & \
headers/cpp/std/std_valarray.h
594
valarray<_Tp>::operator##_Op##= (const _Tp &__t) \
headers/cpp/std/std_valarray.h
596
_Array_augmented_##_Name (_Array<_Tp>(_M_data), _M_size, __t); \
headers/cpp/std/std_valarray.h
600
template<class _Tp> \
headers/cpp/std/std_valarray.h
601
inline valarray<_Tp> & \
headers/cpp/std/std_valarray.h
602
valarray<_Tp>::operator##_Op##= (const valarray<_Tp> &__v) \
headers/cpp/std/std_valarray.h
604
_Array_augmented_##_Name (_Array<_Tp>(_M_data), _M_size, \
headers/cpp/std/std_valarray.h
605
_Array<_Tp>(__v._M_data)); \
headers/cpp/std/std_valarray.h
624
template<class _Tp> template<class _Dom> \
headers/cpp/std/std_valarray.h
625
inline valarray<_Tp> & \
headers/cpp/std/std_valarray.h
626
valarray<_Tp>::operator##_Op##= (const _Expr<_Dom,_Tp> &__e) \
headers/cpp/std/std_valarray.h
628
_Array_augmented_##_Name (_Array<_Tp>(_M_data), __e, _M_size); \
headers/cpp/std/std_valarray.h
647
template<typename _Tp> \
headers/cpp/std/std_valarray.h
648
inline _Expr<_BinClos<_Name,_ValArray,_ValArray,_Tp,_Tp>, _Tp> \
headers/cpp/std/std_valarray.h
649
operator##_Op (const valarray<_Tp> &__v, const valarray<_Tp> &__w) \
headers/cpp/std/std_valarray.h
651
typedef _BinClos<_Name,_ValArray,_ValArray,_Tp,_Tp> _Closure; \
headers/cpp/std/std_valarray.h
652
return _Expr<_Closure, _Tp> (_Closure (__v, __w)); \
headers/cpp/std/std_valarray.h
655
template<typename _Tp> \
headers/cpp/std/std_valarray.h
656
inline _Expr<_BinClos<_Name,_ValArray,_Constant,_Tp,_Tp>,_Tp> \
headers/cpp/std/std_valarray.h
657
operator##_Op (const valarray<_Tp> &__v, const _Tp &__t) \
headers/cpp/std/std_valarray.h
659
typedef _BinClos<_Name,_ValArray,_Constant,_Tp,_Tp> _Closure; \
headers/cpp/std/std_valarray.h
660
return _Expr<_Closure, _Tp> (_Closure (__v, __t)); \
headers/cpp/std/std_valarray.h
663
template<typename _Tp> \
headers/cpp/std/std_valarray.h
664
inline _Expr<_BinClos<_Name,_Constant,_ValArray,_Tp,_Tp>,_Tp> \
headers/cpp/std/std_valarray.h
665
operator##_Op (const _Tp &__t, const valarray<_Tp> &__v) \
headers/cpp/std/std_valarray.h
667
typedef _BinClos<_Name,_Constant,_ValArray,_Tp,_Tp> _Closure; \
headers/cpp/std/std_valarray.h
668
return _Expr<_Closure, _Tp> (_Closure (__t, __v)); \
headers/cpp/std/std_valarray.h
685
template<typename _Tp> \
headers/cpp/std/std_valarray.h
686
inline _Expr<_BinClos<_Name,_ValArray,_ValArray,_Tp,_Tp>,bool> \
headers/cpp/std/std_valarray.h
687
operator##_Op (const valarray<_Tp> &__v, const valarray<_Tp> &__w) \
headers/cpp/std/std_valarray.h
689
typedef _BinClos<_Name,_ValArray,_ValArray,_Tp,_Tp> _Closure; \
headers/cpp/std/std_valarray.h
693
template<class _Tp> \
headers/cpp/std/std_valarray.h
694
inline _Expr<_BinClos<_Name,_ValArray,_Constant,_Tp,_Tp>,bool> \
headers/cpp/std/std_valarray.h
695
operator##_Op (const valarray<_Tp> &__v, const _Tp &__t) \
headers/cpp/std/std_valarray.h
697
typedef _BinClos<_Name,_ValArray,_Constant,_Tp,_Tp> _Closure; \
headers/cpp/std/std_valarray.h
701
template<class _Tp> \
headers/cpp/std/std_valarray.h
702
inline _Expr<_BinClos<_Name,_Constant,_ValArray,_Tp,_Tp>,bool> \
headers/cpp/std/std_valarray.h
703
operator##_Op (const _Tp &__t, const valarray<_Tp> &__v) \
headers/cpp/std/std_valarray.h
705
typedef _BinClos<_Name,_Constant,_ValArray,_Tp,_Tp> _Closure; \
headers/cpp/std/std_valarray.h
72
template<class _Clos, typename _Tp> class _Expr;
headers/cpp/std/std_valarray.h
94
template<class _Tp> struct _Unary_plus;
headers/cpp/std/std_valarray.h
95
template<class _Tp> struct _Bitwise_and;
headers/cpp/std/std_valarray.h
96
template<class _Tp> struct _Bitwise_or;
headers/cpp/std/std_valarray.h
97
template<class _Tp> struct _Bitwise_xor;
headers/cpp/std/std_valarray.h
98
template<class _Tp> struct _Bitwise_not;
headers/cpp/std/std_valarray.h
99
template<class _Tp> struct _Shift_left;
headers/cpp/std/valarray_array.h
106
template<typename _Tp> struct _Array {
headers/cpp/std/valarray_array.h
109
explicit _Array (_Tp* const __restrict__);
headers/cpp/std/valarray_array.h
110
explicit _Array (const valarray<_Tp>&);
headers/cpp/std/valarray_array.h
111
_Array (const _Tp* __restrict__, size_t);
headers/cpp/std/valarray_array.h
114
_Tp* begin () const;
headers/cpp/std/valarray_array.h
116
_Tp* const __restrict__ _M_data;
headers/cpp/std/valarray_array.h
119
template<typename _Tp>
headers/cpp/std/valarray_array.h
121
__valarray_fill (_Array<_Tp> __a, size_t __n, const _Tp& __t)
headers/cpp/std/valarray_array.h
124
template<typename _Tp>
headers/cpp/std/valarray_array.h
126
__valarray_fill (_Array<_Tp> __a, size_t __n, size_t __s, const _Tp& __t)
headers/cpp/std/valarray_array.h
129
template<typename _Tp>
headers/cpp/std/valarray_array.h
131
__valarray_fill (_Array<_Tp> __a, _Array<size_t> __i,
headers/cpp/std/valarray_array.h
132
size_t __n, const _Tp& __t)
headers/cpp/std/valarray_array.h
135
template<typename _Tp>
headers/cpp/std/valarray_array.h
137
__valarray_copy (_Array<_Tp> __a, size_t __n, _Array<_Tp> __b)
headers/cpp/std/valarray_array.h
140
template<typename _Tp>
headers/cpp/std/valarray_array.h
142
__valarray_copy (_Array<_Tp> __a, size_t __n, size_t __s, _Array<_Tp> __b)
headers/cpp/std/valarray_array.h
145
template<typename _Tp>
headers/cpp/std/valarray_array.h
147
__valarray_copy (_Array<_Tp> __a, _Array<_Tp> __b, size_t __n, size_t __s)
headers/cpp/std/valarray_array.h
150
template<typename _Tp>
headers/cpp/std/valarray_array.h
152
__valarray_copy (_Array<_Tp> __a, _Array<size_t> __i,
headers/cpp/std/valarray_array.h
153
_Array<_Tp> __b, size_t __n)
headers/cpp/std/valarray_array.h
156
template<typename _Tp>
headers/cpp/std/valarray_array.h
158
__valarray_copy (_Array<_Tp> __a, size_t __n, _Array<_Tp> __b,
headers/cpp/std/valarray_array.h
162
template<typename _Tp>
headers/cpp/std/valarray_array.h
164
_Array<_Tp>::_Array (size_t __n) : _M_data (new _Tp[__n]) {}
headers/cpp/std/valarray_array.h
166
template<typename _Tp>
headers/cpp/std/valarray_array.h
168
_Array<_Tp>::_Array (_Tp* const __restrict__ __p) : _M_data (__p) {}
headers/cpp/std/valarray_array.h
170
template<typename _Tp>
headers/cpp/std/valarray_array.h
171
inline _Array<_Tp>::_Array (const valarray<_Tp>& __v)
headers/cpp/std/valarray_array.h
174
template<typename _Tp>
headers/cpp/std/valarray_array.h
176
_Array<_Tp>::_Array (const _Tp* __restrict__ __b, size_t __s)
headers/cpp/std/valarray_array.h
177
: _M_data (new _Tp[__s]) { __valarray_copy (__b, __s, _M_data); }
headers/cpp/std/valarray_array.h
179
template<typename _Tp>
headers/cpp/std/valarray_array.h
181
_Array<_Tp>::free_data() const { delete[] _M_data; }
headers/cpp/std/valarray_array.h
183
template<typename _Tp>
headers/cpp/std/valarray_array.h
184
inline _Tp*
headers/cpp/std/valarray_array.h
185
_Array<_Tp>::begin () const
headers/cpp/std/valarray_array.h
189
template<typename _Tp> \
headers/cpp/std/valarray_array.h
191
_Array_augmented_##_Name (_Array<_Tp> __a, size_t __n, const _Tp& __t) \
headers/cpp/std/valarray_array.h
193
for (_Tp* __p=__a._M_data; __p<__a._M_data+__n; ++__p) \
headers/cpp/std/valarray_array.h
197
template<typename _Tp> \
headers/cpp/std/valarray_array.h
199
_Array_augmented_##_Name (_Array<_Tp> __a, size_t __n, _Array<_Tp> __b) \
headers/cpp/std/valarray_array.h
201
_Tp* __p (__a._M_data); \
headers/cpp/std/valarray_array.h
202
for (_Tp* __q=__b._M_data; __q<__b._M_data+__n; ++__p, ++__q) \
headers/cpp/std/valarray_array.h
206
template<typename _Tp, class _Dom> \
headers/cpp/std/valarray_array.h
208
_Array_augmented_##_Name (_Array<_Tp> __a, \
headers/cpp/std/valarray_array.h
209
const _Expr<_Dom,_Tp>& __e, size_t __n) \
headers/cpp/std/valarray_array.h
211
_Tp* __p (__a._M_data); \
headers/cpp/std/valarray_array.h
215
template<typename _Tp> \
headers/cpp/std/valarray_array.h
217
_Array_augmented_##_Name (_Array<_Tp> __a, size_t __n, size_t __s, \
headers/cpp/std/valarray_array.h
218
_Array<_Tp> __b) \
headers/cpp/std/valarray_array.h
220
_Tp* __q (__b._M_data); \
headers/cpp/std/valarray_array.h
221
for (_Tp* __p=__a._M_data; __p<__a._M_data+__s*__n; __p+=__s, ++__q) \
headers/cpp/std/valarray_array.h
225
template<typename _Tp> \
headers/cpp/std/valarray_array.h
227
_Array_augmented_##_Name (_Array<_Tp> __a, _Array<_Tp> __b, \
headers/cpp/std/valarray_array.h
230
_Tp* __q (__b._M_data); \
headers/cpp/std/valarray_array.h
231
for (_Tp* __p=__a._M_data; __p<__a._M_data+__n; ++__p, __q+=__s) \
headers/cpp/std/valarray_array.h
235
template<typename _Tp, class _Dom> \
headers/cpp/std/valarray_array.h
237
_Array_augmented_##_Name (_Array<_Tp> __a, size_t __s, \
headers/cpp/std/valarray_array.h
238
const _Expr<_Dom,_Tp>& __e, size_t __n) \
headers/cpp/std/valarray_array.h
240
_Tp* __p (__a._M_data); \
headers/cpp/std/valarray_array.h
244
template<typename _Tp> \
headers/cpp/std/valarray_array.h
246
_Array_augmented_##_Name (_Array<_Tp> __a, _Array<size_t> __i, \
headers/cpp/std/valarray_array.h
247
_Array<_Tp> __b, size_t __n) \
headers/cpp/std/valarray_array.h
249
_Tp* __q (__b._M_data); \
headers/cpp/std/valarray_array.h
254
template<typename _Tp> \
headers/cpp/std/valarray_array.h
256
_Array_augmented_##_Name (_Array<_Tp> __a, size_t __n, \
headers/cpp/std/valarray_array.h
257
_Array<_Tp> __b, _Array<size_t> __i) \
headers/cpp/std/valarray_array.h
259
_Tp* __p (__a._M_data); \
headers/cpp/std/valarray_array.h
264
template<typename _Tp, class _Dom> \
headers/cpp/std/valarray_array.h
266
_Array_augmented_##_Name (_Array<_Tp> __a, _Array<size_t> __i, \
headers/cpp/std/valarray_array.h
267
const _Expr<_Dom, _Tp>& __e, size_t __n) \
headers/cpp/std/valarray_array.h
274
template<typename _Tp> \
headers/cpp/std/valarray_array.h
276
_Array_augmented_##_Name (_Array<_Tp> __a, _Array<bool> __m, \
headers/cpp/std/valarray_array.h
277
_Array<_Tp> __b, size_t __n) \
headers/cpp/std/valarray_array.h
280
_Tp* __p (__a._M_data); \
headers/cpp/std/valarray_array.h
281
for (_Tp* __q=__b._M_data; __q<__b._M_data+__n; ++__q, ++ok, ++__p) { \
headers/cpp/std/valarray_array.h
290
template<typename _Tp> \
headers/cpp/std/valarray_array.h
292
_Array_augmented_##_Name (_Array<_Tp> __a, size_t __n, \
headers/cpp/std/valarray_array.h
293
_Array<_Tp> __b, _Array<bool> __m) \
headers/cpp/std/valarray_array.h
296
_Tp* __q (__b._M_data); \
headers/cpp/std/valarray_array.h
297
for (_Tp* __p=__a._M_data; __p<__a._M_data+__n; ++__p, ++ok, ++__q) { \
headers/cpp/std/valarray_array.h
306
template<typename _Tp, class _Dom> \
headers/cpp/std/valarray_array.h
308
_Array_augmented_##_Name (_Array<_Tp> __a, _Array<bool> __m, \
headers/cpp/std/valarray_array.h
309
const _Expr<_Dom, _Tp>& __e, size_t __n) \
headers/cpp/std/valarray_array.h
312
_Tp* __p (__a._M_data); \
headers/cpp/std/valarray_array.h
45
template<typename _Tp>
headers/cpp/std/valarray_array.h
47
__valarray_fill (_Tp* __restrict__ __a, size_t __n, const _Tp& __t)
headers/cpp/std/valarray_array.h
51
template<typename _Tp>
headers/cpp/std/valarray_array.h
53
__valarray_fill (_Tp* __restrict__ __a, size_t __n,
headers/cpp/std/valarray_array.h
54
size_t __s, const _Tp& __t)
headers/cpp/std/valarray_array.h
58
template<typename _Tp>
headers/cpp/std/valarray_array.h
60
__valarray_fill(_Tp* __restrict__ __a, const size_t* __restrict__ __i,
headers/cpp/std/valarray_array.h
61
size_t __n, const _Tp& __t)
headers/cpp/std/valarray_array.h
65
template<typename _Tp>
headers/cpp/std/valarray_array.h
67
__valarray_copy (const _Tp* __restrict__ __a, size_t __n,
headers/cpp/std/valarray_array.h
68
_Tp* __restrict__ __b)
headers/cpp/std/valarray_array.h
69
{ memcpy (__b, __a, __n * sizeof(_Tp)); }
headers/cpp/std/valarray_array.h
72
template<typename _Tp>
headers/cpp/std/valarray_array.h
74
__valarray_copy (const _Tp* __restrict__ __a, size_t __n, size_t __s,
headers/cpp/std/valarray_array.h
75
_Tp* __restrict__ __b)
headers/cpp/std/valarray_array.h
79
template<typename _Tp>
headers/cpp/std/valarray_array.h
81
__valarray_copy (const _Tp* __restrict__ __a, _Tp* __restrict__ __b,
headers/cpp/std/valarray_array.h
86
template<typename _Tp>
headers/cpp/std/valarray_array.h
88
__valarray_copy (const _Tp* __restrict__ __a,
headers/cpp/std/valarray_array.h
90
_Tp* __restrict__ __b, size_t __n)
headers/cpp/std/valarray_array.h
94
template<typename _Tp>
headers/cpp/std/valarray_array.h
96
__valarray_copy (const _Tp* __restrict__ __a, size_t __n,
headers/cpp/std/valarray_array.h
97
_Tp* __restrict__ __b, const size_t* __restrict__ __i)
headers/cpp/std/valarray_meta.h
1006
return _Expr<_Closure,_Tp> \
headers/cpp/std/valarray_meta.h
1007
(_Closure (__t, __e (), (_Tp(*)(_Tp, _Tp))(&_Name))); \
headers/cpp/std/valarray_meta.h
1010
template<typename _Tp> \
headers/cpp/std/valarray_meta.h
1011
inline _Expr<_BinFunClos<_ValArray,_ValArray,_Tp,_Tp>, _Tp> \
headers/cpp/std/valarray_meta.h
1012
_Name (const valarray<_Tp>& __v, const valarray<_Tp>& __w) \
headers/cpp/std/valarray_meta.h
1014
typedef _BinFunClos<_ValArray,_ValArray,_Tp,_Tp> _Closure; \
headers/cpp/std/valarray_meta.h
1015
return _Expr<_Closure,_Tp> \
headers/cpp/std/valarray_meta.h
1016
(_Closure (__v, __w, (_Tp(*)(_Tp,_Tp))(&_Name))); \
headers/cpp/std/valarray_meta.h
1019
template<typename _Tp> \
headers/cpp/std/valarray_meta.h
1020
inline _Expr<_BinFunClos<_ValArray,_Constant,_Tp,_Tp>,_Tp> \
headers/cpp/std/valarray_meta.h
1021
_Name (const valarray<_Tp>& __v, const _Tp& __t) \
headers/cpp/std/valarray_meta.h
1023
typedef _BinFunClos<_ValArray,_Constant,_Tp,_Tp> _Closure; \
headers/cpp/std/valarray_meta.h
1024
return _Expr<_Closure,_Tp> \
headers/cpp/std/valarray_meta.h
1025
(_Closure (__v, __t, (_Tp(*)(_Tp,_Tp))(&_Name))); \
headers/cpp/std/valarray_meta.h
1028
template<typename _Tp> \
headers/cpp/std/valarray_meta.h
1029
inline _Expr<_BinFunClos<_Constant,_ValArray,_Tp,_Tp>,_Tp> \
headers/cpp/std/valarray_meta.h
1030
_Name (const _Tp& __t, const valarray<_Tp>& __v) \
headers/cpp/std/valarray_meta.h
1032
typedef _BinFunClos<_Constant,_ValArray,_Tp,_Tp> _Closure; \
headers/cpp/std/valarray_meta.h
1033
return _Expr<_Closure,_Tp> \
headers/cpp/std/valarray_meta.h
1034
(_Closure (__t, __v, (_Tp(*)(_Tp,_Tp))(&_Name))); \
headers/cpp/std/valarray_meta.h
156
_Tp __f(_Tp, _Tp))
headers/cpp/std/valarray_meta.h
160
template<typename _Tp>
headers/cpp/std/valarray_meta.h
161
struct _BinFunClos<_ValArray,_ValArray,_Tp,_Tp>
headers/cpp/std/valarray_meta.h
162
: _BinFunBase<valarray<_Tp>, valarray<_Tp> > {
headers/cpp/std/valarray_meta.h
163
typedef _BinFunBase<valarray<_Tp>, valarray<_Tp> > _Base;
headers/cpp/std/valarray_meta.h
164
typedef _Tp value_type;
headers/cpp/std/valarray_meta.h
166
_BinFunClos (const valarray<_Tp>& __v, const valarray<_Tp>& __w,
headers/cpp/std/valarray_meta.h
167
_Tp __f(_Tp, _Tp))
headers/cpp/std/valarray_meta.h
175
typedef _BinFunBase<_Dom,valarray<_Tp> > _Base;
headers/cpp/std/valarray_meta.h
176
typedef _Tp value_type;
headers/cpp/std/valarray_meta.h
178
_BinFunClos (const _Dom& __e, const valarray<_Tp>& __v,
headers/cpp/std/valarray_meta.h
179
_Tp __f(_Tp, _Tp))
headers/cpp/std/valarray_meta.h
187
typedef _BinFunBase<_Dom,valarray<_Tp> > _Base;
headers/cpp/std/valarray_meta.h
188
typedef _Tp value_type;
headers/cpp/std/valarray_meta.h
190
_BinFunClos (const valarray<_Tp>& __v, const _Dom& __e,
headers/cpp/std/valarray_meta.h
191
_Tp __f(_Tp, _Tp))
headers/cpp/std/valarray_meta.h
199
typedef _Tp value_type;
headers/cpp/std/valarray_meta.h
202
_BinFunClos (const _Dom& __e, const _Tp& __t, _Tp __f (_Tp, _Tp))
headers/cpp/std/valarray_meta.h
210
typedef _Tp value_type;
headers/cpp/std/valarray_meta.h
213
_BinFunClos (const _Tp& __t, const _Dom& __e, _Tp __f (_Tp, _Tp))
headers/cpp/std/valarray_meta.h
217
template<typename _Tp>
headers/cpp/std/valarray_meta.h
218
struct _BinFunClos<_ValArray,_Constant,_Tp,_Tp>
headers/cpp/std/valarray_meta.h
219
: _BinFunBase2<valarray<_Tp> > {
headers/cpp/std/valarray_meta.h
220
typedef _BinFunBase2<valarray<_Tp> > _Base;
headers/cpp/std/valarray_meta.h
221
typedef _Tp value_type;
headers/cpp/std/valarray_meta.h
223
_BinFunClos (const valarray<_Tp>& __v, const _Tp& __t,
headers/cpp/std/valarray_meta.h
224
_Tp __f(_Tp, _Tp))
headers/cpp/std/valarray_meta.h
228
template<typename _Tp>
headers/cpp/std/valarray_meta.h
229
struct _BinFunClos<_Constant,_ValArray,_Tp,_Tp>
headers/cpp/std/valarray_meta.h
230
: _BinFunBase1<valarray<_Tp> > {
headers/cpp/std/valarray_meta.h
231
typedef _BinFunBase1<valarray<_Tp> > _Base;
headers/cpp/std/valarray_meta.h
232
typedef _Tp value_type;
headers/cpp/std/valarray_meta.h
234
_BinFunClos (const _Tp& __t, const valarray<_Tp>& __v,
headers/cpp/std/valarray_meta.h
235
_Tp __f (_Tp, _Tp))
headers/cpp/std/valarray_meta.h
266
_ValFunClos (const _Dom& __e, _Tp __f (_Tp)) : _Base (__e, __f) {}
headers/cpp/std/valarray_meta.h
269
template<typename _Tp>
headers/cpp/std/valarray_meta.h
270
struct _ValFunClos<_ValArray,_Tp>
headers/cpp/std/valarray_meta.h
271
: _FunBase<valarray<_Tp>, _Tp> {
headers/cpp/std/valarray_meta.h
272
typedef _FunBase<valarray<_Tp>, _Tp> _Base;
headers/cpp/std/valarray_meta.h
273
typedef _Tp value_type;
headers/cpp/std/valarray_meta.h
275
_ValFunClos (const valarray<_Tp>& __v, _Tp __f(_Tp))
headers/cpp/std/valarray_meta.h
286
_RefFunClos (const _Dom& __e, _Tp __f (const _Tp&))
headers/cpp/std/valarray_meta.h
290
template<typename _Tp>
headers/cpp/std/valarray_meta.h
291
struct _RefFunClos<_ValArray,_Tp>
headers/cpp/std/valarray_meta.h
292
: _FunBase<valarray<_Tp>, const _Tp&> {
headers/cpp/std/valarray_meta.h
293
typedef _FunBase<valarray<_Tp>, const _Tp&> _Base;
headers/cpp/std/valarray_meta.h
294
typedef _Tp value_type;
headers/cpp/std/valarray_meta.h
296
_RefFunClos (const valarray<_Tp>& __v, _Tp __f(const _Tp&))
headers/cpp/std/valarray_meta.h
332
template<template<class> class _Oper, typename _Tp>
headers/cpp/std/valarray_meta.h
333
struct _UnClos<_Oper, _ValArray, _Tp> : _UnBase<_Oper, valarray<_Tp> > {
headers/cpp/std/valarray_meta.h
334
typedef valarray<_Tp> _Arg;
headers/cpp/std/valarray_meta.h
335
typedef _UnBase<_Oper, valarray<_Tp> > _Base;
headers/cpp/std/valarray_meta.h
424
template<template<class> class _Oper, typename _Tp>
headers/cpp/std/valarray_meta.h
425
struct _BinClos<_Oper,_ValArray,_ValArray,_Tp,_Tp>
headers/cpp/std/valarray_meta.h
426
: _BinBase<_Oper,valarray<_Tp>,valarray<_Tp> > {
headers/cpp/std/valarray_meta.h
427
typedef _BinBase<_Oper,valarray<_Tp>,valarray<_Tp> > _Base;
headers/cpp/std/valarray_meta.h
428
typedef _Tp value_type;
headers/cpp/std/valarray_meta.h
430
_BinClos (const valarray<_Tp>& __v, const valarray<_Tp>& __w)
headers/cpp/std/valarray_meta.h
438
typedef _BinBase<_Oper,_Dom,valarray<_Tp> > _Base;
headers/cpp/std/valarray_meta.h
441
_BinClos(const _Dom& __e1, const valarray<_Tp>& __e2)
headers/cpp/std/valarray_meta.h
452
_BinClos (const valarray<_Tp>& __e1, const _Dom& __e2)
headers/cpp/std/valarray_meta.h
463
_BinClos (const _Dom& __e1, const _Tp& __e2) : _Base (__e1, __e2) {}
headers/cpp/std/valarray_meta.h
473
_BinClos (const _Tp& __e1, const _Dom& __e2) : _Base (__e1, __e2) {}
headers/cpp/std/valarray_meta.h
476
template<template<class> class _Oper, typename _Tp>
headers/cpp/std/valarray_meta.h
477
struct _BinClos<_Oper,_ValArray,_Constant,_Tp,_Tp>
headers/cpp/std/valarray_meta.h
478
: _BinBase2<_Oper,valarray<_Tp> > {
headers/cpp/std/valarray_meta.h
479
typedef _BinBase2<_Oper,valarray<_Tp> > _Base;
headers/cpp/std/valarray_meta.h
482
_BinClos (const valarray<_Tp>& __v, const _Tp& __t)
headers/cpp/std/valarray_meta.h
486
template<template<class> class _Oper, typename _Tp>
headers/cpp/std/valarray_meta.h
487
struct _BinClos<_Oper,_Constant,_ValArray,_Tp,_Tp>
headers/cpp/std/valarray_meta.h
488
: _BinBase1<_Oper,valarray<_Tp> > {
headers/cpp/std/valarray_meta.h
489
typedef _BinBase1<_Oper,valarray<_Tp> > _Base;
headers/cpp/std/valarray_meta.h
492
_BinClos (const _Tp& __t, const valarray<_Tp>& __v)
headers/cpp/std/valarray_meta.h
515
template<typename _Tp> class _SBase<_Array<_Tp> > {
headers/cpp/std/valarray_meta.h
517
typedef _Tp value_type;
headers/cpp/std/valarray_meta.h
519
_SBase (_Array<_Tp> __a, const slice& __s)
headers/cpp/std/valarray_meta.h
527
const _Array<_Tp> _M_array;
headers/cpp/std/valarray_meta.h
539
template<typename _Tp>
headers/cpp/std/valarray_meta.h
540
struct _SClos<_ValArray,_Tp> : _SBase<_Array<_Tp> > {
headers/cpp/std/valarray_meta.h
541
typedef _SBase<_Array<_Tp> > _Base;
headers/cpp/std/valarray_meta.h
542
typedef _Tp value_type;
headers/cpp/std/valarray_meta.h
544
_SClos (_Array<_Tp> __a, const slice& __s) : _Base (__a, __s) {}
headers/cpp/std/valarray_meta.h
565
template<typename _Tp> class _GBase<_Array<_Tp> > {
headers/cpp/std/valarray_meta.h
567
typedef _Tp value_type;
headers/cpp/std/valarray_meta.h
569
_GBase (_Array<_Tp> __a, const valarray<size_t>& __i)
headers/cpp/std/valarray_meta.h
576
const _Array<_Tp> _M_array;
headers/cpp/std/valarray_meta.h
588
template<typename _Tp>
headers/cpp/std/valarray_meta.h
589
struct _GClos<_ValArray,_Tp> : _GBase<_Array<_Tp> > {
headers/cpp/std/valarray_meta.h
590
typedef _GBase<_Array<_Tp> > _Base;
headers/cpp/std/valarray_meta.h
593
_GClos (_Array<_Tp> __a, const valarray<size_t>& __i)
headers/cpp/std/valarray_meta.h
624
template<typename _Tp>
headers/cpp/std/valarray_meta.h
625
struct _IClos<_ValArray,_Tp> : _IBase<valarray<_Tp> > {
headers/cpp/std/valarray_meta.h
626
typedef _IBase<valarray<_Tp> > _Base;
headers/cpp/std/valarray_meta.h
627
typedef _Tp value_type;
headers/cpp/std/valarray_meta.h
629
_IClos (const valarray<_Tp>& __a, const valarray<size_t>& __i)
headers/cpp/std/valarray_meta.h
636
template<class _Clos, typename _Tp> class _Expr {
headers/cpp/std/valarray_meta.h
638
typedef _Tp value_type;
headers/cpp/std/valarray_meta.h
676
template<class _Clos, typename _Tp>
headers/cpp/std/valarray_meta.h
678
_Expr<_Clos,_Tp>::_Expr (const _Clos& __c) : _M_closure(__c) {}
headers/cpp/std/valarray_meta.h
680
template<class _Clos, typename _Tp>
headers/cpp/std/valarray_meta.h
682
_Expr<_Clos,_Tp>::operator() () const
headers/cpp/std/valarray_meta.h
685
template<class _Clos, typename _Tp>
headers/cpp/std/valarray_meta.h
686
inline _Tp
headers/cpp/std/valarray_meta.h
687
_Expr<_Clos,_Tp>::operator[] (size_t __i) const
headers/cpp/std/valarray_meta.h
690
template<class _Clos, typename _Tp>
headers/cpp/std/valarray_meta.h
691
inline valarray<_Tp>
headers/cpp/std/valarray_meta.h
692
_Expr<_Clos,_Tp>::operator[] (slice __s) const
headers/cpp/std/valarray_meta.h
695
template<class _Clos, typename _Tp>
headers/cpp/std/valarray_meta.h
696
inline valarray<_Tp>
headers/cpp/std/valarray_meta.h
697
_Expr<_Clos,_Tp>::operator[] (const gslice& __gs) const
headers/cpp/std/valarray_meta.h
700
template<class _Clos, typename _Tp>
headers/cpp/std/valarray_meta.h
701
inline valarray<_Tp>
headers/cpp/std/valarray_meta.h
702
_Expr<_Clos,_Tp>::operator[] (const valarray<bool>& __m) const
headers/cpp/std/valarray_meta.h
705
template<class _Clos, typename _Tp>
headers/cpp/std/valarray_meta.h
706
inline valarray<_Tp>
headers/cpp/std/valarray_meta.h
707
_Expr<_Clos,_Tp>::operator[] (const valarray<size_t>& __i) const
headers/cpp/std/valarray_meta.h
710
template<class _Clos, typename _Tp>
headers/cpp/std/valarray_meta.h
712
_Expr<_Clos,_Tp>::size () const { return _M_closure.size (); }
headers/cpp/std/valarray_meta.h
715
template<class _Clos, typename _Tp>
headers/cpp/std/valarray_meta.h
716
inline _Tp
headers/cpp/std/valarray_meta.h
717
_Expr<_Clos,_Tp>::sum () const
headers/cpp/std/valarray_meta.h
719
_Tp __s(_Tp());
headers/cpp/std/valarray_meta.h
725
template<class _Dom, typename _Tp>
headers/cpp/std/valarray_meta.h
726
inline _Tp
headers/cpp/std/valarray_meta.h
727
min (const _Expr<_Dom,_Tp>& __e)
headers/cpp/std/valarray_meta.h
730
_Tp __m (__e[0]);
headers/cpp/std/valarray_meta.h
736
template<class _Dom, typename _Tp>
headers/cpp/std/valarray_meta.h
737
inline _Tp
headers/cpp/std/valarray_meta.h
738
max (const _Expr<_Dom,_Tp>& __e)
headers/cpp/std/valarray_meta.h
741
_Tp __m (__e[0]);
headers/cpp/std/valarray_meta.h
747
template<class _Dom, typename _Tp>
headers/cpp/std/valarray_meta.h
749
_Expr<_Dom,_Tp>::operator! () const
headers/cpp/std/valarray_meta.h
752
return _Expr<_Closure,_Tp> (_Closure(this->_M_closure));
headers/cpp/std/valarray_meta.h
756
template<class _Dom, typename _Tp> \
headers/cpp/std/valarray_meta.h
757
inline _Expr<_UnClos<_Name,_Expr,_Dom>,_Tp> \
headers/cpp/std/valarray_meta.h
758
_Expr<_Dom,_Tp>::operator##_Op () const \
headers/cpp/std/valarray_meta.h
761
return _Expr<_Closure,_Tp> (_Closure (this->_M_closure)); \
headers/cpp/std/valarray_meta.h
78
template<typename _Tp>
headers/cpp/std/valarray_meta.h
79
struct _UnFunClos<_ValArray,_Tp> : _UnFunBase<valarray<_Tp> > {
headers/cpp/std/valarray_meta.h
80
typedef _UnFunBase<valarray<_Tp> > _Base;
headers/cpp/std/valarray_meta.h
827
typedef typename _Name<_Tp>::result_type _Value; \
headers/cpp/std/valarray_meta.h
83
_UnFunClos (const valarray<_Tp>& __v, _Tp __f(_Tp))
headers/cpp/std/valarray_meta.h
885
typedef _BinClos<_Name,_Expr,_ValArray,_Dom,_Tp> _Closure; \
headers/cpp/std/valarray_meta.h
920
return _Expr<_Closure,_Tp>(_Closure(__e(), (_Tp(*)(_Tp))(&_Name))); \
headers/cpp/std/valarray_meta.h
923
template<typename _Tp> \
headers/cpp/std/valarray_meta.h
924
inline _Expr<_UnFunClos<_ValArray,_Tp>,_Tp> \
headers/cpp/std/valarray_meta.h
925
_Name(const valarray<_Tp>& __v) \
headers/cpp/std/valarray_meta.h
927
typedef _UnFunClos<_ValArray,_Tp> _Closure; \
headers/cpp/std/valarray_meta.h
928
return _Expr<_Closure,_Tp> (_Closure (__v, (_Tp(*)(_Tp))(&_Name))); \
headers/cpp/std/valarray_meta.h
958
return _Expr<_Closure,_Tp> \
headers/cpp/std/valarray_meta.h
959
(_Closure (__e1 (), __e2 (), (_Tp(*)(_Tp, _Tp))(&_Name))); \
headers/cpp/std/valarray_meta.h
969
typedef _BinFunClos<_Expr,_ValArray,_Dom,_Tp> _Closure; \
headers/cpp/std/valarray_meta.h
970
return _Expr<_Closure,_Tp> \
headers/cpp/std/valarray_meta.h
971
(_Closure (__e (), __v, (_Tp(*)(_Tp, _Tp))(&_Name))); \
headers/cpp/std/valarray_meta.h
982
return _Expr<_Closure,_Tp> \
headers/cpp/std/valarray_meta.h
983
(_Closure (__v, __e (), (_Tp(*)(_Tp, _Tp))(&_Name))); \
headers/cpp/std/valarray_meta.h
993
typedef _BinFunClos<_Expr,_Constant,_Dom,_Tp> _Closure; \
headers/cpp/std/valarray_meta.h
994
return _Expr<_Closure,_Tp> \
headers/cpp/std/valarray_meta.h
995
(_Closure (__e (), __t, (_Tp(*)(_Tp, _Tp))(&_Name))); \
headers/cpp/stl_algo.h
1083
template <class _ForwardIter, class _Predicate, class _Tp, class _Distance>
headers/cpp/stl_algo.h
1086
_Predicate __pred, _Tp*, _Distance*)
headers/cpp/stl_algo.h
1088
_Temporary_buffer<_ForwardIter, _Tp> __buf(__first, __last);
headers/cpp/stl_algo.h
111
template <class _RandomAccessIter, class _Tp>
headers/cpp/stl_algo.h
1110
template <class _RandomAccessIter, class _Tp>
headers/cpp/stl_algo.h
1113
_Tp __pivot)
headers/cpp/stl_algo.h
1128
template <class _RandomAccessIter, class _Tp, class _Compare>
headers/cpp/stl_algo.h
113
const _Tp& __val,
headers/cpp/stl_algo.h
1131
_Tp __pivot, _Compare __comp)
headers/cpp/stl_algo.h
1150
template <class _RandomAccessIter, class _Tp>
headers/cpp/stl_algo.h
1151
void __unguarded_linear_insert(_RandomAccessIter __last, _Tp __val) {
headers/cpp/stl_algo.h
1162
template <class _RandomAccessIter, class _Tp, class _Compare>
headers/cpp/stl_algo.h
1163
void __unguarded_linear_insert(_RandomAccessIter __last, _Tp __val,
headers/cpp/stl_algo.h
1175
template <class _RandomAccessIter, class _Tp>
headers/cpp/stl_algo.h
1177
_RandomAccessIter __last, _Tp*) {
headers/cpp/stl_algo.h
1178
_Tp __val = *__last;
headers/cpp/stl_algo.h
1187
template <class _RandomAccessIter, class _Tp, class _Compare>
headers/cpp/stl_algo.h
1189
_RandomAccessIter __last, _Tp*, _Compare __comp) {
headers/cpp/stl_algo.h
1190
_Tp __val = *__last;
headers/cpp/stl_algo.h
1214
template <class _RandomAccessIter, class _Tp>
headers/cpp/stl_algo.h
1216
_RandomAccessIter __last, _Tp*) {
headers/cpp/stl_algo.h
1218
__unguarded_linear_insert(__i, _Tp(*__i));
headers/cpp/stl_algo.h
1227
template <class _RandomAccessIter, class _Tp, class _Compare>
headers/cpp/stl_algo.h
1230
_Tp*, _Compare __comp) {
headers/cpp/stl_algo.h
1232
__unguarded_linear_insert(__i, _Tp(*__i), __comp);
headers/cpp/stl_algo.h
1272
template <class _RandomAccessIter, class _Tp, class _Size>
headers/cpp/stl_algo.h
1274
_RandomAccessIter __last, _Tp*,
headers/cpp/stl_algo.h
1285
_Tp(__median(*__first,
headers/cpp/stl_algo.h
1288
__introsort_loop(__cut, __last, (_Tp*) 0, __depth_limit);
headers/cpp/stl_algo.h
1293
template <class _RandomAccessIter, class _Tp, class _Size, class _Compare>
headers/cpp/stl_algo.h
1295
_RandomAccessIter __last, _Tp*,
headers/cpp/stl_algo.h
1306
_Tp(__median(*__first,
headers/cpp/stl_algo.h
1310
__introsort_loop(__cut, __last, (_Tp*) 0, __depth_limit, __comp);
headers/cpp/stl_algo.h
1516
template <class _RandomAccessIter, class _Tp, class _Distance>
headers/cpp/stl_algo.h
1518
_RandomAccessIter __last, _Tp*, _Distance*) {
headers/cpp/stl_algo.h
1519
_Temporary_buffer<_RandomAccessIter, _Tp> buf(__first, __last);
headers/cpp/stl_algo.h
1527
template <class _RandomAccessIter, class _Tp, class _Distance, class _Compare>
headers/cpp/stl_algo.h
1529
_RandomAccessIter __last, _Tp*, _Distance*,
headers/cpp/stl_algo.h
1531
_Temporary_buffer<_RandomAccessIter, _Tp> buf(__first, __last);
headers/cpp/stl_algo.h
1559
template <class _RandomAccessIter, class _Tp>
headers/cpp/stl_algo.h
1561
_RandomAccessIter __last, _Tp*) {
headers/cpp/stl_algo.h
1565
__pop_heap(__first, __middle, __i, _Tp(*__i),
headers/cpp/stl_algo.h
1577
template <class _RandomAccessIter, class _Tp, class _Compare>
headers/cpp/stl_algo.h
1579
_RandomAccessIter __last, _Tp*, _Compare __comp) {
headers/cpp/stl_algo.h
1583
__pop_heap(__first, __middle, __i, _Tp(*__i), __comp,
headers/cpp/stl_algo.h
1596
class _Tp>
headers/cpp/stl_algo.h
1601
_Distance*, _Tp*) {
headers/cpp/stl_algo.h
1614
_Tp(*__first));
headers/cpp/stl_algo.h
1632
class _Distance, class _Tp>
headers/cpp/stl_algo.h
1637
_Compare __comp, _Distance*, _Tp*) {
headers/cpp/stl_algo.h
1650
_Tp(*__first),
headers/cpp/stl_algo.h
1671
template <class _RandomAccessIter, class _Tp>
headers/cpp/stl_algo.h
1673
_RandomAccessIter __last, _Tp*) {
headers/cpp/stl_algo.h
1677
_Tp(__median(*__first,
headers/cpp/stl_algo.h
1694
template <class _RandomAccessIter, class _Tp, class _Compare>
headers/cpp/stl_algo.h
1696
_RandomAccessIter __last, _Tp*, _Compare __comp) {
headers/cpp/stl_algo.h
1700
_Tp(__median(*__first,
headers/cpp/stl_algo.h
1722
template <class _ForwardIter, class _Tp, class _Distance>
headers/cpp/stl_algo.h
1724
const _Tp& __val, _Distance*)
headers/cpp/stl_algo.h
1746
template <class _ForwardIter, class _Tp>
headers/cpp/stl_algo.h
1748
const _Tp& __val) {
headers/cpp/stl_algo.h
1753
template <class _ForwardIter, class _Tp, class _Compare, class _Distance>
headers/cpp/stl_algo.h
1755
const _Tp& __val, _Compare __comp, _Distance*)
headers/cpp/stl_algo.h
1777
template <class _ForwardIter, class _Tp, class _Compare>
headers/cpp/stl_algo.h
1779
const _Tp& __val, _Compare __comp) {
headers/cpp/stl_algo.h
1784
template <class _ForwardIter, class _Tp, class _Distance>
headers/cpp/stl_algo.h
1786
const _Tp& __val, _Distance*)
headers/cpp/stl_algo.h
1808
template <class _ForwardIter, class _Tp>
headers/cpp/stl_algo.h
1810
const _Tp& __val) {
headers/cpp/stl_algo.h
1815
template <class _ForwardIter, class _Tp, class _Compare, class _Distance>
headers/cpp/stl_algo.h
1817
const _Tp& __val, _Compare __comp, _Distance*)
headers/cpp/stl_algo.h
1839
template <class _ForwardIter, class _Tp, class _Compare>
headers/cpp/stl_algo.h
1841
const _Tp& __val, _Compare __comp) {
headers/cpp/stl_algo.h
1846
template <class _ForwardIter, class _Tp, class _Distance>
headers/cpp/stl_algo.h
1848
__equal_range(_ForwardIter __first, _ForwardIter __last, const _Tp& __val,
headers/cpp/stl_algo.h
1877
template <class _ForwardIter, class _Tp>
headers/cpp/stl_algo.h
1879
equal_range(_ForwardIter __first, _ForwardIter __last, const _Tp& __val) {
headers/cpp/stl_algo.h
1884
template <class _ForwardIter, class _Tp, class _Compare, class _Distance>
headers/cpp/stl_algo.h
1886
__equal_range(_ForwardIter __first, _ForwardIter __last, const _Tp& __val,
headers/cpp/stl_algo.h
189
template <class _InputIter, class _Tp>
headers/cpp/stl_algo.h
191
const _Tp& __val)
headers/cpp/stl_algo.h
1915
template <class _ForwardIter, class _Tp, class _Compare>
headers/cpp/stl_algo.h
1917
equal_range(_ForwardIter __first, _ForwardIter __last, const _Tp& __val,
headers/cpp/stl_algo.h
1923
template <class _ForwardIter, class _Tp>
headers/cpp/stl_algo.h
1925
const _Tp& __val) {
headers/cpp/stl_algo.h
1930
template <class _ForwardIter, class _Tp, class _Compare>
headers/cpp/stl_algo.h
1932
const _Tp& __val,
headers/cpp/stl_algo.h
2219
template <class _BidirectionalIter, class _Tp, class _Distance>
headers/cpp/stl_algo.h
2222
_BidirectionalIter __last, _Tp*, _Distance*) {
headers/cpp/stl_algo.h
2228
_Temporary_buffer<_BidirectionalIter, _Tp> __buf(__first, __last);
headers/cpp/stl_algo.h
2236
template <class _BidirectionalIter, class _Tp,
headers/cpp/stl_algo.h
2240
_BidirectionalIter __last, _Tp*, _Distance*,
headers/cpp/stl_algo.h
2247
_Temporary_buffer<_BidirectionalIter, _Tp> __buf(__first, __last);
headers/cpp/stl_algo.h
237
template <class _InputIter, class _Tp, class _Size>
headers/cpp/stl_algo.h
238
void count(_InputIter __first, _InputIter __last, const _Tp& __value,
headers/cpp/stl_algo.h
255
template <class _InputIter, class _Tp>
headers/cpp/stl_algo.h
257
count(_InputIter __first, _InputIter __last, const _Tp& __value) {
headers/cpp/stl_algo.h
376
template <class _ForwardIter, class _Integer, class _Tp>
headers/cpp/stl_algo.h
378
_Integer __count, const _Tp& __val) {
headers/cpp/stl_algo.h
400
template <class _ForwardIter, class _Integer, class _Tp, class _BinaryPred>
headers/cpp/stl_algo.h
402
_Integer __count, const _Tp& __val,
headers/cpp/stl_algo.h
44
template <class _Tp>
headers/cpp/stl_algo.h
45
inline const _Tp& __median(const _Tp& __a, const _Tp& __b, const _Tp& __c) {
headers/cpp/stl_algo.h
467
template <class _ForwardIter, class _Tp>
headers/cpp/stl_algo.h
469
const _Tp& __old_value, const _Tp& __new_value) {
headers/cpp/stl_algo.h
475
template <class _ForwardIter, class _Predicate, class _Tp>
headers/cpp/stl_algo.h
477
_Predicate __pred, const _Tp& __new_value) {
headers/cpp/stl_algo.h
483
template <class _InputIter, class _OutputIter, class _Tp>
headers/cpp/stl_algo.h
486
const _Tp& __old_value, const _Tp& __new_value) {
headers/cpp/stl_algo.h
492
template <class Iterator, class _OutputIter, class _Predicate, class _Tp>
headers/cpp/stl_algo.h
495
_Predicate __pred, const _Tp& __new_value) {
headers/cpp/stl_algo.h
518
template <class _InputIter, class _OutputIter, class _Tp>
headers/cpp/stl_algo.h
520
_OutputIter __result, const _Tp& __value) {
headers/cpp/stl_algo.h
540
template <class _ForwardIter, class _Tp>
headers/cpp/stl_algo.h
542
const _Tp& __value) {
headers/cpp/stl_algo.h
560
template <class _InputIter, class _OutputIter, class _Tp>
headers/cpp/stl_algo.h
562
_OutputIter __result, _Tp*) {
headers/cpp/stl_algo.h
563
_Tp __value = *__first;
headers/cpp/stl_algo.h
598
class _Tp>
headers/cpp/stl_algo.h
601
_BinaryPredicate __binary_pred, _Tp*) {
headers/cpp/stl_algo.h
602
_Tp __value = *__first;
headers/cpp/stl_algo.h
61
template <class _Tp, class _Compare>
headers/cpp/stl_algo.h
62
inline const _Tp&
headers/cpp/stl_algo.h
63
__median(const _Tp& __a, const _Tp& __b, const _Tp& __c, _Compare __comp) {
headers/cpp/stl_algo.h
765
template <class _RandomAccessIter, class _Distance, class _Tp>
headers/cpp/stl_algo.h
769
_Distance *, _Tp *) {
headers/cpp/stl_algo.h
784
_Tp __tmp = *__first;
headers/cpp/stl_algo.h
89
template <class _InputIter, class _Tp>
headers/cpp/stl_algo.h
91
const _Tp& __val,
headers/cpp/stl_algobase.h
102
template <class _Tp, class _Compare>
headers/cpp/stl_algobase.h
103
inline const _Tp& min(const _Tp& __a, const _Tp& __b, _Compare __comp) {
headers/cpp/stl_algobase.h
107
template <class _Tp, class _Compare>
headers/cpp/stl_algobase.h
108
inline const _Tp& max(const _Tp& __a, const _Tp& __b, _Compare __comp) {
headers/cpp/stl_algobase.h
146
template <class _Tp>
headers/cpp/stl_algobase.h
147
inline _Tp*
headers/cpp/stl_algobase.h
148
__copy_trivial(const _Tp* __first, const _Tp* __last, _Tp* __result) {
headers/cpp/stl_algobase.h
149
memmove(__result, __first, sizeof(_Tp) * (__last - __first));
headers/cpp/stl_algobase.h
165
template <class _Tp>
headers/cpp/stl_algobase.h
166
struct __copy_dispatch<_Tp*, _Tp*, __true_type>
headers/cpp/stl_algobase.h
168
static _Tp* copy(const _Tp* __first, const _Tp* __last, _Tp* __result) {
headers/cpp/stl_algobase.h
173
template <class _Tp>
headers/cpp/stl_algobase.h
174
struct __copy_dispatch<const _Tp*, _Tp*, __true_type>
headers/cpp/stl_algobase.h
176
static _Tp* copy(const _Tp* __first, const _Tp* __last, _Tp* __result) {
headers/cpp/stl_algobase.h
185
typedef typename __type_traits<_Tp>::has_trivial_assignment_operator
headers/cpp/stl_algobase.h
266
template <class _Tp>
headers/cpp/stl_algobase.h
267
struct __copy_backward_dispatch<_Tp*, _Tp*, __true_type>
headers/cpp/stl_algobase.h
269
static _Tp* copy(const _Tp* __first, const _Tp* __last, _Tp* __result) {
headers/cpp/stl_algobase.h
271
memmove(__result - _Num, __first, sizeof(_Tp) * _Num);
headers/cpp/stl_algobase.h
276
template <class _Tp>
headers/cpp/stl_algobase.h
277
struct __copy_backward_dispatch<const _Tp*, _Tp*, __true_type>
headers/cpp/stl_algobase.h
279
static _Tp* copy(const _Tp* __first, const _Tp* __last, _Tp* __result) {
headers/cpp/stl_algobase.h
280
return __copy_backward_dispatch<_Tp*, _Tp*, __true_type>
headers/cpp/stl_algobase.h
346
template <class _ForwardIter, class _Tp>
headers/cpp/stl_algobase.h
347
void fill(_ForwardIter __first, _ForwardIter __last, const _Tp& __value) {
headers/cpp/stl_algobase.h
352
template <class _OutputIter, class _Size, class _Tp>
headers/cpp/stl_algobase.h
353
_OutputIter fill_n(_OutputIter __first, _Size __n, const _Tp& __value) {
headers/cpp/stl_algobase.h
63
template <class _ForwardIter1, class _ForwardIter2, class _Tp>
headers/cpp/stl_algobase.h
64
inline void __iter_swap(_ForwardIter1 __a, _ForwardIter2 __b, _Tp*) {
headers/cpp/stl_algobase.h
65
_Tp __tmp = *__a;
headers/cpp/stl_algobase.h
75
template <class _Tp>
headers/cpp/stl_algobase.h
76
inline void swap(_Tp& __a, _Tp& __b) {
headers/cpp/stl_algobase.h
77
_Tp __tmp = __a;
headers/cpp/stl_algobase.h
90
template <class _Tp>
headers/cpp/stl_algobase.h
91
inline const _Tp& min(const _Tp& __a, const _Tp& __b) {
headers/cpp/stl_algobase.h
95
template <class _Tp>
headers/cpp/stl_algobase.h
96
inline const _Tp& max(const _Tp& __a, const _Tp& __b) {
headers/cpp/stl_alloc.h
1004
template <class _Tp, class _Alloc>
headers/cpp/stl_alloc.h
1005
struct _Alloc_traits<_Tp, debug_alloc<_Alloc> >
headers/cpp/stl_alloc.h
1015
template <class _Tp, class _Tp1, int __inst>
headers/cpp/stl_alloc.h
1016
struct _Alloc_traits<_Tp,
headers/cpp/stl_alloc.h
1025
template <class _Tp, class _Tp1, bool __thr, int __inst>
headers/cpp/stl_alloc.h
1026
struct _Alloc_traits<_Tp,
headers/cpp/stl_alloc.h
1038
template <class _Tp, class _Tp1, class _Alloc>
headers/cpp/stl_alloc.h
1039
struct _Alloc_traits<_Tp, __allocator<_Tp1, debug_alloc<_Alloc> > >
headers/cpp/stl_alloc.h
227
template<class _Tp, class _Alloc>
headers/cpp/stl_alloc.h
231
static _Tp* allocate(size_t __n)
headers/cpp/stl_alloc.h
232
{ return 0 == __n ? 0 : (_Tp*) _Alloc::allocate(__n * sizeof (_Tp)); }
headers/cpp/stl_alloc.h
233
static _Tp* allocate(void)
headers/cpp/stl_alloc.h
234
{ return (_Tp*) _Alloc::allocate(sizeof (_Tp)); }
headers/cpp/stl_alloc.h
235
static void deallocate(_Tp* __p, size_t __n)
headers/cpp/stl_alloc.h
236
{ if (0 != __n) _Alloc::deallocate(__p, __n * sizeof (_Tp)); }
headers/cpp/stl_alloc.h
237
static void deallocate(_Tp* __p)
headers/cpp/stl_alloc.h
238
{ _Alloc::deallocate(__p, sizeof (_Tp)); }
headers/cpp/stl_alloc.h
732
template <class _Tp>
headers/cpp/stl_alloc.h
738
typedef _Tp* pointer;
headers/cpp/stl_alloc.h
739
typedef const _Tp* const_pointer;
headers/cpp/stl_alloc.h
740
typedef _Tp& reference;
headers/cpp/stl_alloc.h
741
typedef const _Tp& const_reference;
headers/cpp/stl_alloc.h
742
typedef _Tp value_type;
headers/cpp/stl_alloc.h
758
_Tp* allocate(size_type __n, const void* = 0) {
headers/cpp/stl_alloc.h
759
return __n != 0 ? static_cast<_Tp*>(_Alloc::allocate(__n * sizeof(_Tp)))
headers/cpp/stl_alloc.h
765
{ _Alloc::deallocate(__p, __n * sizeof(_Tp)); }
headers/cpp/stl_alloc.h
768
{ return size_t(-1) / sizeof(_Tp); }
headers/cpp/stl_alloc.h
770
void construct(pointer __p, const _Tp& __val) { new(__p) _Tp(__val); }
headers/cpp/stl_alloc.h
771
void destroy(pointer __p) { __p->~_Tp(); }
headers/cpp/stl_alloc.h
807
template <class _Tp, class _Alloc>
headers/cpp/stl_alloc.h
813
typedef _Tp* pointer;
headers/cpp/stl_alloc.h
814
typedef const _Tp* const_pointer;
headers/cpp/stl_alloc.h
815
typedef _Tp& reference;
headers/cpp/stl_alloc.h
816
typedef const _Tp& const_reference;
headers/cpp/stl_alloc.h
817
typedef _Tp value_type;
headers/cpp/stl_alloc.h
835
_Tp* allocate(size_type __n, const void* = 0) {
headers/cpp/stl_alloc.h
837
? static_cast<_Tp*>(__underlying_alloc.allocate(__n * sizeof(_Tp)))
headers/cpp/stl_alloc.h
843
{ __underlying_alloc.deallocate(__p, __n * sizeof(_Tp)); }
headers/cpp/stl_alloc.h
846
{ return size_t(-1) / sizeof(_Tp); }
headers/cpp/stl_alloc.h
848
void construct(pointer __p, const _Tp& __val) { new(__p) _Tp(__val); }
headers/cpp/stl_alloc.h
849
void destroy(pointer __p) { __p->~_Tp(); }
headers/cpp/stl_alloc.h
865
template <class _Tp, class _Alloc>
headers/cpp/stl_alloc.h
866
inline bool operator==(const __allocator<_Tp, _Alloc>& __a1,
headers/cpp/stl_alloc.h
867
const __allocator<_Tp, _Alloc>& __a2)
headers/cpp/stl_alloc.h
873
template <class _Tp, class _Alloc>
headers/cpp/stl_alloc.h
874
inline bool operator!=(const __allocator<_Tp, _Alloc>& __a1,
headers/cpp/stl_alloc.h
875
const __allocator<_Tp, _Alloc>& __a2)
headers/cpp/stl_alloc.h
961
template <class _Tp, class _Allocator>
headers/cpp/stl_alloc.h
965
typedef typename _Allocator::__STL_TEMPLATE rebind<_Tp>::other
headers/cpp/stl_alloc.h
969
template <class _Tp, class _Allocator>
headers/cpp/stl_alloc.h
970
const bool _Alloc_traits<_Tp, _Allocator>::_S_instanceless;
headers/cpp/stl_alloc.h
974
template <class _Tp, class _Tp1>
headers/cpp/stl_alloc.h
975
struct _Alloc_traits<_Tp, allocator<_Tp1> >
headers/cpp/stl_alloc.h
979
typedef allocator<_Tp> allocator_type;
headers/cpp/stl_alloc.h
984
template <class _Tp, int __inst>
headers/cpp/stl_alloc.h
985
struct _Alloc_traits<_Tp, __malloc_alloc_template<__inst> >
headers/cpp/stl_alloc.h
993
template <class _Tp, bool __threads, int __inst>
headers/cpp/stl_alloc.h
994
struct _Alloc_traits<_Tp, __default_alloc_template<__threads, __inst> >
headers/cpp/stl_construct.h
41
template <class _Tp>
headers/cpp/stl_construct.h
42
inline void destroy(_Tp* __pointer) {
headers/cpp/stl_construct.h
43
__pointer->~_Tp();
headers/cpp/stl_construct.h
67
template <class _ForwardIterator, class _Tp>
headers/cpp/stl_construct.h
69
__destroy(_ForwardIterator __first, _ForwardIterator __last, _Tp*)
headers/cpp/stl_construct.h
71
typedef typename __type_traits<_Tp>::has_trivial_destructor
headers/cpp/stl_deque.h
1011
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1012
void deque<_Tp,_Alloc,__bufsize>::insert(iterator __pos,
headers/cpp/stl_deque.h
103
_S_buffer_size() { return __deque_buf_size(__bufsiz, sizeof(_Tp)); }
headers/cpp/stl_deque.h
1040
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1041
deque<_Tp,_Alloc,__bufsize>::iterator
headers/cpp/stl_deque.h
1042
deque<_Tp,_Alloc,__bufsize>::erase(iterator __first, iterator __last)
headers/cpp/stl_deque.h
105
template <class _Tp, class _Ref, class _Ptr>
headers/cpp/stl_deque.h
1069
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
107
typedef _Deque_iterator<_Tp, _Tp&, _Tp*> iterator;
headers/cpp/stl_deque.h
1070
void deque<_Tp,_Alloc,__bufsize>::clear()
headers/cpp/stl_deque.h
108
typedef _Deque_iterator<_Tp, const _Tp&, const _Tp*> const_iterator;
headers/cpp/stl_deque.h
1092
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1094
deque<_Tp,_Alloc,__bufsize>::_M_fill_initialize(const value_type& __value) {
headers/cpp/stl_deque.h
110
_S_buffer_size() { return __deque_buf_size(0, sizeof(_Tp)); }
headers/cpp/stl_deque.h
1106
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1109
deque<_Tp,_Alloc,__bufsize>::_M_range_initialize(_InputIterator __first,
headers/cpp/stl_deque.h
1118
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1121
deque<_Tp,_Alloc,__bufsize>::_M_range_initialize(_ForwardIterator __first,
headers/cpp/stl_deque.h
114
typedef _Tp value_type;
headers/cpp/stl_deque.h
1147
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1149
deque<_Tp,_Alloc,__bufsize>::_M_push_back_aux(const value_type& __t)
headers/cpp/stl_deque.h
1163
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1165
deque<_Tp,_Alloc,__bufsize>::_M_push_back_aux()
headers/cpp/stl_deque.h
1178
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1180
deque<_Tp,_Alloc,__bufsize>::_M_push_front_aux(const value_type& __t)
headers/cpp/stl_deque.h
119
typedef _Tp** _Map_pointer;
headers/cpp/stl_deque.h
1194
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1196
deque<_Tp,_Alloc,__bufsize>::_M_push_front_aux()
headers/cpp/stl_deque.h
1209
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1211
deque<_Tp,_Alloc,__bufsize>::_M_pop_back_aux()
headers/cpp/stl_deque.h
1223
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1225
deque<_Tp,_Alloc,__bufsize>::_M_pop_front_aux()
headers/cpp/stl_deque.h
123
_Tp* _M_cur;
headers/cpp/stl_deque.h
1235
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1238
deque<_Tp,_Alloc,__bufsize>::insert(iterator __pos,
headers/cpp/stl_deque.h
124
_Tp* _M_first;
headers/cpp/stl_deque.h
1246
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1249
deque<_Tp,_Alloc,__bufsize>::insert(iterator __pos,
headers/cpp/stl_deque.h
125
_Tp* _M_last;
headers/cpp/stl_deque.h
1278
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1279
typename deque<_Tp, _Alloc, __bufsize>::iterator
headers/cpp/stl_deque.h
128
_Deque_iterator(_Tp* __x, _Map_pointer __y)
headers/cpp/stl_deque.h
1280
deque<_Tp,_Alloc,__bufsize>::_M_insert_aux(iterator __pos,
headers/cpp/stl_deque.h
1309
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1310
typename deque<_Tp,_Alloc,__bufsize>::iterator
headers/cpp/stl_deque.h
1311
deque<_Tp,_Alloc,__bufsize>::_M_insert_aux(iterator __pos)
headers/cpp/stl_deque.h
1338
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1340
deque<_Tp,_Alloc,__bufsize>::_M_insert_aux(iterator __pos,
headers/cpp/stl_deque.h
1396
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1399
deque<_Tp,_Alloc,__bufsize>::_M_insert_aux(iterator __pos,
headers/cpp/stl_deque.h
1458
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1460
deque<_Tp,_Alloc,__bufsize>::_M_insert_aux(iterator __pos,
headers/cpp/stl_deque.h
1516
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1518
deque<_Tp,_Alloc,__bufsize>::_M_insert_aux(iterator __pos,
headers/cpp/stl_deque.h
1574
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1576
deque<_Tp,_Alloc,__bufsize>::_M_new_elements_at_front(size_type __new_elems)
headers/cpp/stl_deque.h
1595
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1597
deque<_Tp,_Alloc,__bufsize>::_M_new_elements_at_back(size_type __new_elems)
headers/cpp/stl_deque.h
1616
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
1618
deque<_Tp,_Alloc,__bufsize>::_M_reallocate_map(size_type __nodes_to_add,
headers/cpp/stl_deque.h
1657
template <class _Tp, class _Alloc, size_t __bufsiz>
headers/cpp/stl_deque.h
1658
bool operator==(const deque<_Tp, _Alloc, __bufsiz>& __x,
headers/cpp/stl_deque.h
1659
const deque<_Tp, _Alloc, __bufsiz>& __y)
headers/cpp/stl_deque.h
1665
template <class _Tp, class _Alloc, size_t __bufsiz>
headers/cpp/stl_deque.h
1666
bool operator<(const deque<_Tp, _Alloc, __bufsiz>& __x,
headers/cpp/stl_deque.h
1667
const deque<_Tp, _Alloc, __bufsiz>& __y)
headers/cpp/stl_deque.h
1678
template <class _Tp, class _Alloc, size_t __bufsiz>
headers/cpp/stl_deque.h
1680
swap(deque<_Tp,_Alloc,__bufsiz>& __x, deque<_Tp,_Alloc,__bufsiz>& __y)
headers/cpp/stl_deque.h
223
template <class _Tp, class _Ref, class _Ptr, size_t __bufsiz>
headers/cpp/stl_deque.h
225
iterator_category(const _Deque_iterator<_Tp,_Ref,_Ptr,__bufsiz>&) {
headers/cpp/stl_deque.h
229
template <class _Tp, class _Ref, class _Ptr, size_t __bufsiz>
headers/cpp/stl_deque.h
230
inline _Tp*
headers/cpp/stl_deque.h
231
value_type(const _Deque_iterator<_Tp,_Ref,_Ptr,__bufsiz>&) {
headers/cpp/stl_deque.h
235
template <class _Tp, class _Ref, class _Ptr, size_t __bufsiz>
headers/cpp/stl_deque.h
237
distance_type(const _Deque_iterator<_Tp,_Ref,_Ptr,__bufsiz>&) {
headers/cpp/stl_deque.h
243
template <class _Tp, class _Ref, class _Ptr>
headers/cpp/stl_deque.h
245
iterator_category(const _Deque_iterator<_Tp,_Ref,_Ptr>&)
headers/cpp/stl_deque.h
250
template <class _Tp, class _Ref, class _Ptr>
headers/cpp/stl_deque.h
251
inline _Tp*
headers/cpp/stl_deque.h
252
value_type(const _Deque_iterator<_Tp,_Ref,_Ptr>&) { return 0; }
headers/cpp/stl_deque.h
254
template <class _Tp, class _Ref, class _Ptr>
headers/cpp/stl_deque.h
256
distance_type(const _Deque_iterator<_Tp,_Ref,_Ptr>&) {
headers/cpp/stl_deque.h
273
template <class _Tp, class _Alloc, size_t __bufsiz, bool __is_static>
headers/cpp/stl_deque.h
290
_Tp* _M_allocate_node() {
headers/cpp/stl_deque.h
291
return node_allocator.allocate(__deque_buf_size(__bufsiz,sizeof(_Tp)));
headers/cpp/stl_deque.h
293
void _M_deallocate_node(_Tp* __p) {
headers/cpp/stl_deque.h
294
node_allocator.deallocate(__p, __deque_buf_size(__bufsiz,sizeof(_Tp)));
headers/cpp/stl_deque.h
296
_Tp** _M_allocate_map(size_t __n)
headers/cpp/stl_deque.h
298
void _M_deallocate_map(_Tp** __p, size_t __n)
headers/cpp/stl_deque.h
301
_Tp** _M_map;
headers/cpp/stl_deque.h
306
template <class _Tp, class _Alloc, size_t __bufsiz>
headers/cpp/stl_deque.h
307
class _Deque_alloc_base<_Tp, _Alloc, __bufsiz, true>
headers/cpp/stl_deque.h
319
_Tp* _M_allocate_node()
headers/cpp/stl_deque.h
321
sizeof(_Tp))); }
headers/cpp/stl_deque.h
322
void _M_deallocate_node(_Tp* __p)
headers/cpp/stl_deque.h
324
sizeof(_Tp))); }
headers/cpp/stl_deque.h
325
_Tp** _M_allocate_map(size_t __n)
headers/cpp/stl_deque.h
327
void _M_deallocate_map(_Tp** __p, size_t __n)
headers/cpp/stl_deque.h
330
_Tp** _M_map;
headers/cpp/stl_deque.h
334
template <class _Tp, class _Alloc, size_t __bufsiz>
headers/cpp/stl_deque.h
336
: public _Deque_alloc_base<_Tp,_Alloc,__bufsiz,
headers/cpp/stl_deque.h
337
_Alloc_traits<_Tp, _Alloc>::_S_instanceless>
headers/cpp/stl_deque.h
356
void _M_create_nodes(_Tp** __nstart, _Tp** __nfinish);
headers/cpp/stl_deque.h
357
void _M_destroy_nodes(_Tp** __nstart, _Tp** __nfinish);
headers/cpp/stl_deque.h
367
template <class _Tp, class _Alloc, size_t __bufsiz>
headers/cpp/stl_deque.h
374
typedef _Deque_iterator<_Tp,_Tp&,_Tp*> iterator;
headers/cpp/stl_deque.h
375
typedef _Deque_iterator<_Tp,const _Tp&,const _Tp*> const_iterator;
headers/cpp/stl_deque.h
391
void _M_create_nodes(_Tp** __nstart, _Tp** __nfinish);
headers/cpp/stl_deque.h
392
void _M_destroy_nodes(_Tp** __nstart, _Tp** __nfinish);
headers/cpp/stl_deque.h
396
_Tp** _M_map;
headers/cpp/stl_deque.h
404
_Tp* _M_allocate_node()
headers/cpp/stl_deque.h
406
sizeof(_Tp))); }
headers/cpp/stl_deque.h
407
void _M_deallocate_node(_Tp* __p)
headers/cpp/stl_deque.h
409
sizeof(_Tp))); }
headers/cpp/stl_deque.h
410
_Tp** _M_allocate_map(size_t __n)
headers/cpp/stl_deque.h
412
void _M_deallocate_map(_Tp** __p, size_t __n)
headers/cpp/stl_deque.h
420
template <class _Tp, class _Alloc, size_t __bufsiz>
headers/cpp/stl_deque.h
421
_Deque_base<_Tp,_Alloc,__bufsiz>::~_Deque_base() {
headers/cpp/stl_deque.h
428
template <class _Tp, class _Alloc, size_t __bufsiz>
headers/cpp/stl_deque.h
430
_Deque_base<_Tp,_Alloc,__bufsiz>::_M_initialize_map(size_t __num_elements)
headers/cpp/stl_deque.h
433
__num_elements / __deque_buf_size(__bufsiz, sizeof(_Tp)) + 1;
headers/cpp/stl_deque.h
438
_Tp** __nstart = _M_map + (_M_map_size - __num_nodes) / 2;
headers/cpp/stl_deque.h
439
_Tp** __nfinish = __nstart + __num_nodes;
headers/cpp/stl_deque.h
450
__num_elements % __deque_buf_size(__bufsiz, sizeof(_Tp));
headers/cpp/stl_deque.h
453
template <class _Tp, class _Alloc, size_t __bufsiz>
headers/cpp/stl_deque.h
455
_Deque_base<_Tp,_Alloc,__bufsiz>::_M_create_nodes(_Tp** __nstart,
headers/cpp/stl_deque.h
456
_Tp** __nfinish)
headers/cpp/stl_deque.h
458
_Tp** __cur;
headers/cpp/stl_deque.h
466
template <class _Tp, class _Alloc, size_t __bufsiz>
headers/cpp/stl_deque.h
468
_Deque_base<_Tp,_Alloc,__bufsiz>::_M_destroy_nodes(_Tp** __nstart,
headers/cpp/stl_deque.h
469
_Tp** __nfinish)
headers/cpp/stl_deque.h
471
for (_Tp** __n = __nstart; __n < __nfinish; ++__n)
headers/cpp/stl_deque.h
478
template <class _Tp, class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp),
headers/cpp/stl_deque.h
480
class deque : protected _Deque_base<_Tp, _Alloc, __bufsiz> {
headers/cpp/stl_deque.h
483
typedef _Tp value_type;
headers/cpp/stl_deque.h
512
{ return __deque_buf_size(__bufsiz, sizeof(_Tp)); }
headers/cpp/stl_deque.h
640
void assign(size_type __n, const _Tp& __val) {
headers/cpp/stl_deque.h
663
{ assign((size_type) __n, (_Tp) __val); }
headers/cpp/stl_deque.h
932
bool operator==(const deque<_Tp,_Alloc,0>& __x) const {
headers/cpp/stl_deque.h
935
bool operator!=(const deque<_Tp,_Alloc,0>& __x) const {
headers/cpp/stl_deque.h
938
bool operator<(const deque<_Tp,_Alloc,0>& __x) const {
headers/cpp/stl_deque.h
948
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
950
void deque<_Tp, _Alloc, __bufsize>
headers/cpp/stl_deque.h
964
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
966
deque<_Tp, _Alloc, __bufsize>::insert(iterator __pos,
headers/cpp/stl_deque.h
98
template <class _Tp, class _Ref, class _Ptr, size_t __bufsiz>
headers/cpp/stl_deque.h
985
template <class _Tp, class _Alloc, size_t __bufsize>
headers/cpp/stl_deque.h
986
void deque<_Tp, _Alloc, __bufsize>::insert(iterator __pos,
headers/cpp/stl_function.h
102
template <class _Tp>
headers/cpp/stl_function.h
103
struct greater : public binary_function<_Tp,_Tp,bool>
headers/cpp/stl_function.h
105
bool operator()(const _Tp& __x, const _Tp& __y) const { return __x > __y; }
headers/cpp/stl_function.h
108
template <class _Tp>
headers/cpp/stl_function.h
109
struct less : public binary_function<_Tp,_Tp,bool>
headers/cpp/stl_function.h
111
bool operator()(const _Tp& __x, const _Tp& __y) const { return __x < __y; }
headers/cpp/stl_function.h
114
template <class _Tp>
headers/cpp/stl_function.h
115
struct greater_equal : public binary_function<_Tp,_Tp,bool>
headers/cpp/stl_function.h
117
bool operator()(const _Tp& __x, const _Tp& __y) const { return __x >= __y; }
headers/cpp/stl_function.h
120
template <class _Tp>
headers/cpp/stl_function.h
121
struct less_equal : public binary_function<_Tp,_Tp,bool>
headers/cpp/stl_function.h
123
bool operator()(const _Tp& __x, const _Tp& __y) const { return __x <= __y; }
headers/cpp/stl_function.h
126
template <class _Tp>
headers/cpp/stl_function.h
127
struct logical_and : public binary_function<_Tp,_Tp,bool>
headers/cpp/stl_function.h
129
bool operator()(const _Tp& __x, const _Tp& __y) const { return __x && __y; }
headers/cpp/stl_function.h
132
template <class _Tp>
headers/cpp/stl_function.h
133
struct logical_or : public binary_function<_Tp,_Tp,bool>
headers/cpp/stl_function.h
135
bool operator()(const _Tp& __x, const _Tp& __y) const { return __x || __y; }
headers/cpp/stl_function.h
138
template <class _Tp>
headers/cpp/stl_function.h
139
struct logical_not : public unary_function<_Tp,bool>
headers/cpp/stl_function.h
141
bool operator()(const _Tp& __x) const { return !__x; }
headers/cpp/stl_function.h
203
template <class _Operation, class _Tp>
headers/cpp/stl_function.h
205
bind1st(const _Operation& __oper, const _Tp& __x)
headers/cpp/stl_function.h
228
template <class _Operation, class _Tp>
headers/cpp/stl_function.h
230
bind2nd(const _Operation& __oper, const _Tp& __x)
headers/cpp/stl_function.h
326
template <class _Tp>
headers/cpp/stl_function.h
327
struct _Identity : public unary_function<_Tp,_Tp> {
headers/cpp/stl_function.h
328
const _Tp& operator()(const _Tp& __x) const { return __x; }
headers/cpp/stl_function.h
331
template <class _Tp> struct identity : public _Identity<_Tp> {};
headers/cpp/stl_function.h
486
template <class _Ret, class _Tp>
headers/cpp/stl_function.h
487
class mem_fun_t : public unary_function<_Tp*,_Ret> {
headers/cpp/stl_function.h
489
explicit mem_fun_t(_Ret (_Tp::*__pf)()) : _M_f(__pf) {}
headers/cpp/stl_function.h
49
template <class _Tp>
headers/cpp/stl_function.h
490
_Ret operator()(_Tp* __p) const { return (__p->*_M_f)(); }
headers/cpp/stl_function.h
492
_Ret (_Tp::*_M_f)();
headers/cpp/stl_function.h
495
template <class _Ret, class _Tp>
headers/cpp/stl_function.h
496
class const_mem_fun_t : public unary_function<const _Tp*,_Ret> {
headers/cpp/stl_function.h
498
explicit const_mem_fun_t(_Ret (_Tp::*__pf)() const) : _M_f(__pf) {}
headers/cpp/stl_function.h
499
_Ret operator()(const _Tp* __p) const { return (__p->*_M_f)(); }
headers/cpp/stl_function.h
50
struct plus : public binary_function<_Tp,_Tp,_Tp> {
headers/cpp/stl_function.h
501
_Ret (_Tp::*_M_f)() const;
headers/cpp/stl_function.h
505
template <class _Ret, class _Tp>
headers/cpp/stl_function.h
506
class mem_fun_ref_t : public unary_function<_Tp,_Ret> {
headers/cpp/stl_function.h
508
explicit mem_fun_ref_t(_Ret (_Tp::*__pf)()) : _M_f(__pf) {}
headers/cpp/stl_function.h
509
_Ret operator()(_Tp& __r) const { return (__r.*_M_f)(); }
headers/cpp/stl_function.h
51
_Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x + __y; }
headers/cpp/stl_function.h
511
_Ret (_Tp::*_M_f)();
headers/cpp/stl_function.h
514
template <class _Ret, class _Tp>
headers/cpp/stl_function.h
515
class const_mem_fun_ref_t : public unary_function<_Tp,_Ret> {
headers/cpp/stl_function.h
517
explicit const_mem_fun_ref_t(_Ret (_Tp::*__pf)() const) : _M_f(__pf) {}
headers/cpp/stl_function.h
518
_Ret operator()(const _Tp& __r) const { return (__r.*_M_f)(); }
headers/cpp/stl_function.h
520
_Ret (_Tp::*_M_f)() const;
headers/cpp/stl_function.h
523
template <class _Ret, class _Tp, class _Arg>
headers/cpp/stl_function.h
524
class mem_fun1_t : public binary_function<_Tp*,_Arg,_Ret> {
headers/cpp/stl_function.h
526
explicit mem_fun1_t(_Ret (_Tp::*__pf)(_Arg)) : _M_f(__pf) {}
headers/cpp/stl_function.h
527
_Ret operator()(_Tp* __p, _Arg __x) const { return (__p->*_M_f)(__x); }
headers/cpp/stl_function.h
529
_Ret (_Tp::*_M_f)(_Arg);
headers/cpp/stl_function.h
532
template <class _Ret, class _Tp, class _Arg>
headers/cpp/stl_function.h
533
class const_mem_fun1_t : public binary_function<const _Tp*,_Arg,_Ret> {
headers/cpp/stl_function.h
535
explicit const_mem_fun1_t(_Ret (_Tp::*__pf)(_Arg) const) : _M_f(__pf) {}
headers/cpp/stl_function.h
536
_Ret operator()(const _Tp* __p, _Arg __x) const
headers/cpp/stl_function.h
539
_Ret (_Tp::*_M_f)(_Arg) const;
headers/cpp/stl_function.h
54
template <class _Tp>
headers/cpp/stl_function.h
542
template <class _Ret, class _Tp, class _Arg>
headers/cpp/stl_function.h
543
class mem_fun1_ref_t : public binary_function<_Tp,_Arg,_Ret> {
headers/cpp/stl_function.h
545
explicit mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg)) : _M_f(__pf) {}
headers/cpp/stl_function.h
546
_Ret operator()(_Tp& __r, _Arg __x) const { return (__r.*_M_f)(__x); }
headers/cpp/stl_function.h
548
_Ret (_Tp::*_M_f)(_Arg);
headers/cpp/stl_function.h
55
struct minus : public binary_function<_Tp,_Tp,_Tp> {
headers/cpp/stl_function.h
551
template <class _Ret, class _Tp, class _Arg>
headers/cpp/stl_function.h
552
class const_mem_fun1_ref_t : public binary_function<_Tp,_Arg,_Ret> {
headers/cpp/stl_function.h
554
explicit const_mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg) const) : _M_f(__pf) {}
headers/cpp/stl_function.h
555
_Ret operator()(const _Tp& __r, _Arg __x) const { return (__r.*_M_f)(__x); }
headers/cpp/stl_function.h
557
_Ret (_Tp::*_M_f)(_Arg) const;
headers/cpp/stl_function.h
56
_Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x - __y; }
headers/cpp/stl_function.h
562
template <class _Tp>
headers/cpp/stl_function.h
563
class mem_fun_t<void, _Tp> : public unary_function<_Tp*,void> {
headers/cpp/stl_function.h
565
explicit mem_fun_t(void (_Tp::*__pf)()) : _M_f(__pf) {}
headers/cpp/stl_function.h
566
void operator()(_Tp* __p) const { (__p->*_M_f)(); }
headers/cpp/stl_function.h
568
void (_Tp::*_M_f)();
headers/cpp/stl_function.h
571
template <class _Tp>
headers/cpp/stl_function.h
572
class const_mem_fun_t<void, _Tp> : public unary_function<const _Tp*,void> {
headers/cpp/stl_function.h
574
explicit const_mem_fun_t(void (_Tp::*__pf)() const) : _M_f(__pf) {}
headers/cpp/stl_function.h
575
void operator()(const _Tp* __p) const { (__p->*_M_f)(); }
headers/cpp/stl_function.h
577
void (_Tp::*_M_f)() const;
headers/cpp/stl_function.h
580
template <class _Tp>
headers/cpp/stl_function.h
581
class mem_fun_ref_t<void, _Tp> : public unary_function<_Tp,void> {
headers/cpp/stl_function.h
583
explicit mem_fun_ref_t(void (_Tp::*__pf)()) : _M_f(__pf) {}
headers/cpp/stl_function.h
584
void operator()(_Tp& __r) const { (__r.*_M_f)(); }
headers/cpp/stl_function.h
586
void (_Tp::*_M_f)();
headers/cpp/stl_function.h
589
template <class _Tp>
headers/cpp/stl_function.h
59
template <class _Tp>
headers/cpp/stl_function.h
590
class const_mem_fun_ref_t<void, _Tp> : public unary_function<_Tp,void> {
headers/cpp/stl_function.h
592
explicit const_mem_fun_ref_t(void (_Tp::*__pf)() const) : _M_f(__pf) {}
headers/cpp/stl_function.h
593
void operator()(const _Tp& __r) const { (__r.*_M_f)(); }
headers/cpp/stl_function.h
595
void (_Tp::*_M_f)() const;
headers/cpp/stl_function.h
598
template <class _Tp, class _Arg>
headers/cpp/stl_function.h
599
class mem_fun1_t<void, _Tp, _Arg> : public binary_function<_Tp*,_Arg,void> {
headers/cpp/stl_function.h
60
struct multiplies : public binary_function<_Tp,_Tp,_Tp> {
headers/cpp/stl_function.h
601
explicit mem_fun1_t(void (_Tp::*__pf)(_Arg)) : _M_f(__pf) {}
headers/cpp/stl_function.h
602
void operator()(_Tp* __p, _Arg __x) const { (__p->*_M_f)(__x); }
headers/cpp/stl_function.h
604
void (_Tp::*_M_f)(_Arg);
headers/cpp/stl_function.h
607
template <class _Tp, class _Arg>
headers/cpp/stl_function.h
608
class const_mem_fun1_t<void, _Tp, _Arg>
headers/cpp/stl_function.h
609
: public binary_function<const _Tp*,_Arg,void> {
headers/cpp/stl_function.h
61
_Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x * __y; }
headers/cpp/stl_function.h
611
explicit const_mem_fun1_t(void (_Tp::*__pf)(_Arg) const) : _M_f(__pf) {}
headers/cpp/stl_function.h
612
void operator()(const _Tp* __p, _Arg __x) const { (__p->*_M_f)(__x); }
headers/cpp/stl_function.h
614
void (_Tp::*_M_f)(_Arg) const;
headers/cpp/stl_function.h
617
template <class _Tp, class _Arg>
headers/cpp/stl_function.h
618
class mem_fun1_ref_t<void, _Tp, _Arg>
headers/cpp/stl_function.h
619
: public binary_function<_Tp,_Arg,void> {
headers/cpp/stl_function.h
621
explicit mem_fun1_ref_t(void (_Tp::*__pf)(_Arg)) : _M_f(__pf) {}
headers/cpp/stl_function.h
622
void operator()(_Tp& __r, _Arg __x) const { (__r.*_M_f)(__x); }
headers/cpp/stl_function.h
624
void (_Tp::*_M_f)(_Arg);
headers/cpp/stl_function.h
627
template <class _Tp, class _Arg>
headers/cpp/stl_function.h
628
class const_mem_fun1_ref_t<void, _Tp, _Arg>
headers/cpp/stl_function.h
629
: public binary_function<_Tp,_Arg,void> {
headers/cpp/stl_function.h
631
explicit const_mem_fun1_ref_t(void (_Tp::*__pf)(_Arg) const) : _M_f(__pf) {}
headers/cpp/stl_function.h
632
void operator()(const _Tp& __r, _Arg __x) const { (__r.*_M_f)(__x); }
headers/cpp/stl_function.h
634
void (_Tp::*_M_f)(_Arg) const;
headers/cpp/stl_function.h
64
template <class _Tp>
headers/cpp/stl_function.h
644
template <class _Ret, class _Tp>
headers/cpp/stl_function.h
645
inline mem_fun_t<_Ret,_Tp> mem_fun(_Ret (_Tp::*__f)())
headers/cpp/stl_function.h
646
{ return mem_fun_t<_Ret,_Tp>(__f); }
headers/cpp/stl_function.h
648
template <class _Ret, class _Tp>
headers/cpp/stl_function.h
649
inline const_mem_fun_t<_Ret,_Tp> mem_fun(_Ret (_Tp::*__f)() const)
headers/cpp/stl_function.h
65
struct divides : public binary_function<_Tp,_Tp,_Tp> {
headers/cpp/stl_function.h
650
{ return const_mem_fun_t<_Ret,_Tp>(__f); }
headers/cpp/stl_function.h
652
template <class _Ret, class _Tp>
headers/cpp/stl_function.h
653
inline mem_fun_ref_t<_Ret,_Tp> mem_fun_ref(_Ret (_Tp::*__f)())
headers/cpp/stl_function.h
654
{ return mem_fun_ref_t<_Ret,_Tp>(__f); }
headers/cpp/stl_function.h
656
template <class _Ret, class _Tp>
headers/cpp/stl_function.h
657
inline const_mem_fun_ref_t<_Ret,_Tp> mem_fun_ref(_Ret (_Tp::*__f)() const)
headers/cpp/stl_function.h
658
{ return const_mem_fun_ref_t<_Ret,_Tp>(__f); }
headers/cpp/stl_function.h
66
_Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x / __y; }
headers/cpp/stl_function.h
660
template <class _Ret, class _Tp, class _Arg>
headers/cpp/stl_function.h
661
inline mem_fun1_t<_Ret,_Tp,_Arg> mem_fun(_Ret (_Tp::*__f)(_Arg))
headers/cpp/stl_function.h
662
{ return mem_fun1_t<_Ret,_Tp,_Arg>(__f); }
headers/cpp/stl_function.h
664
template <class _Ret, class _Tp, class _Arg>
headers/cpp/stl_function.h
665
inline const_mem_fun1_t<_Ret,_Tp,_Arg> mem_fun(_Ret (_Tp::*__f)(_Arg) const)
headers/cpp/stl_function.h
666
{ return const_mem_fun1_t<_Ret,_Tp,_Arg>(__f); }
headers/cpp/stl_function.h
668
template <class _Ret, class _Tp, class _Arg>
headers/cpp/stl_function.h
669
inline mem_fun1_ref_t<_Ret,_Tp,_Arg> mem_fun_ref(_Ret (_Tp::*__f)(_Arg))
headers/cpp/stl_function.h
670
{ return mem_fun1_ref_t<_Ret,_Tp,_Arg>(__f); }
headers/cpp/stl_function.h
672
template <class _Ret, class _Tp, class _Arg>
headers/cpp/stl_function.h
673
inline const_mem_fun1_ref_t<_Ret,_Tp,_Arg>
headers/cpp/stl_function.h
674
mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const)
headers/cpp/stl_function.h
675
{ return const_mem_fun1_ref_t<_Ret,_Tp,_Arg>(__f); }
headers/cpp/stl_function.h
677
template <class _Ret, class _Tp, class _Arg>
headers/cpp/stl_function.h
678
inline mem_fun1_t<_Ret,_Tp,_Arg> mem_fun1(_Ret (_Tp::*__f)(_Arg))
headers/cpp/stl_function.h
679
{ return mem_fun1_t<_Ret,_Tp,_Arg>(__f); }
headers/cpp/stl_function.h
681
template <class _Ret, class _Tp, class _Arg>
headers/cpp/stl_function.h
682
inline const_mem_fun1_t<_Ret,_Tp,_Arg> mem_fun1(_Ret (_Tp::*__f)(_Arg) const)
headers/cpp/stl_function.h
683
{ return const_mem_fun1_t<_Ret,_Tp,_Arg>(__f); }
headers/cpp/stl_function.h
685
template <class _Ret, class _Tp, class _Arg>
headers/cpp/stl_function.h
686
inline mem_fun1_ref_t<_Ret,_Tp,_Arg> mem_fun1_ref(_Ret (_Tp::*__f)(_Arg))
headers/cpp/stl_function.h
687
{ return mem_fun1_ref_t<_Ret,_Tp,_Arg>(__f); }
headers/cpp/stl_function.h
689
template <class _Ret, class _Tp, class _Arg>
headers/cpp/stl_function.h
690
inline const_mem_fun1_ref_t<_Ret,_Tp,_Arg>
headers/cpp/stl_function.h
691
mem_fun1_ref(_Ret (_Tp::*__f)(_Arg) const)
headers/cpp/stl_function.h
692
{ return const_mem_fun1_ref_t<_Ret,_Tp,_Arg>(__f); }
headers/cpp/stl_function.h
71
template <class _Tp> inline _Tp identity_element(plus<_Tp>) {
headers/cpp/stl_function.h
72
return _Tp(0);
headers/cpp/stl_function.h
74
template <class _Tp> inline _Tp identity_element(multiplies<_Tp>) {
headers/cpp/stl_function.h
75
return _Tp(1);
headers/cpp/stl_function.h
78
template <class _Tp>
headers/cpp/stl_function.h
79
struct modulus : public binary_function<_Tp,_Tp,_Tp>
headers/cpp/stl_function.h
81
_Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x % __y; }
headers/cpp/stl_function.h
84
template <class _Tp>
headers/cpp/stl_function.h
85
struct negate : public unary_function<_Tp,_Tp>
headers/cpp/stl_function.h
87
_Tp operator()(const _Tp& __x) const { return -__x; }
headers/cpp/stl_function.h
90
template <class _Tp>
headers/cpp/stl_function.h
91
struct equal_to : public binary_function<_Tp,_Tp,bool>
headers/cpp/stl_function.h
93
bool operator()(const _Tp& __x, const _Tp& __y) const { return __x == __y; }
headers/cpp/stl_function.h
96
template <class _Tp>
headers/cpp/stl_function.h
97
struct not_equal_to : public binary_function<_Tp,_Tp,bool>
headers/cpp/stl_function.h
99
bool operator()(const _Tp& __x, const _Tp& __y) const { return __x != __y; }
headers/cpp/stl_hash_map.h
180
_Tp& operator[](const key_type& __key) {
headers/cpp/stl_hash_map.h
181
return _M_ht.find_or_insert(value_type(__key, _Tp())).second;
headers/cpp/stl_hash_map.h
204
template <class _Key, class _Tp, class _HashFcn, class _EqlKey, class _Alloc>
headers/cpp/stl_hash_map.h
206
operator==(const hash_map<_Key,_Tp,_HashFcn,_EqlKey,_Alloc>& __hm1,
headers/cpp/stl_hash_map.h
207
const hash_map<_Key,_Tp,_HashFcn,_EqlKey,_Alloc>& __hm2)
headers/cpp/stl_hash_map.h
214
template <class _Key, class _Tp, class _HashFcn, class _EqlKey, class _Alloc>
headers/cpp/stl_hash_map.h
216
swap(hash_map<_Key,_Tp,_HashFcn,_EqlKey,_Alloc>& __hm1,
headers/cpp/stl_hash_map.h
217
hash_map<_Key,_Tp,_HashFcn,_EqlKey,_Alloc>& __hm2)
headers/cpp/stl_hash_map.h
225
template <class _Key, class _Tp, class _HashFcn = hash<_Key>,
headers/cpp/stl_hash_map.h
227
class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >
headers/cpp/stl_hash_map.h
229
template <class _Key, class _Tp, class _HashFcn, class _EqualKey,
headers/cpp/stl_hash_map.h
230
class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >
headers/cpp/stl_hash_map.h
242
typedef _Tp data_type;
headers/cpp/stl_hash_map.h
243
typedef _Tp mapped_type;
headers/cpp/stl_hash_map.h
385
template <class _Key, class _Tp, class _HF, class _EqKey, class _Alloc>
headers/cpp/stl_hash_map.h
387
operator==(const hash_multimap<_Key,_Tp,_HF,_EqKey,_Alloc>& __hm1,
headers/cpp/stl_hash_map.h
388
const hash_multimap<_Key,_Tp,_HF,_EqKey,_Alloc>& __hm2)
headers/cpp/stl_hash_map.h
395
template <class _Key, class _Tp, class _HashFcn, class _EqlKey, class _Alloc>
headers/cpp/stl_hash_map.h
397
swap(hash_multimap<_Key,_Tp,_HashFcn,_EqlKey,_Alloc>& __hm1,
headers/cpp/stl_hash_map.h
398
hash_multimap<_Key,_Tp,_HashFcn,_EqlKey,_Alloc>& __hm2)
headers/cpp/stl_hash_map.h
43
template <class _Key, class _Tp, class _HashFcn = hash<_Key>,
headers/cpp/stl_hash_map.h
45
class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >
headers/cpp/stl_hash_map.h
47
template <class _Key, class _Tp, class _HashFcn, class _EqualKey,
headers/cpp/stl_hash_map.h
48
class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >
headers/cpp/stl_hash_map.h
59
typedef _Tp data_type;
headers/cpp/stl_hash_map.h
60
typedef _Tp mapped_type;
headers/cpp/stl_heap.h
107
template <class _RandomAccessIterator, class _Distance, class _Tp>
headers/cpp/stl_heap.h
110
_Distance __len, _Tp __value)
headers/cpp/stl_heap.h
128
template <class _RandomAccessIterator, class _Tp, class _Distance>
headers/cpp/stl_heap.h
131
_RandomAccessIterator __result, _Tp __value, _Distance*)
headers/cpp/stl_heap.h
137
template <class _RandomAccessIterator, class _Tp>
headers/cpp/stl_heap.h
140
_Tp*)
headers/cpp/stl_heap.h
143
_Tp(*(__last - 1)), __DISTANCE_TYPE(__first));
headers/cpp/stl_heap.h
154
class _Tp, class _Compare>
headers/cpp/stl_heap.h
157
_Distance __len, _Tp __value, _Compare __comp)
headers/cpp/stl_heap.h
175
template <class _RandomAccessIterator, class _Tp, class _Compare,
headers/cpp/stl_heap.h
179
_RandomAccessIterator __result, _Tp __value, _Compare __comp,
headers/cpp/stl_heap.h
187
template <class _RandomAccessIterator, class _Tp, class _Compare>
headers/cpp/stl_heap.h
190
_RandomAccessIterator __last, _Tp*, _Compare __comp)
headers/cpp/stl_heap.h
192
__pop_heap(__first, __last - 1, __last - 1, _Tp(*(__last - 1)), __comp,
headers/cpp/stl_heap.h
204
template <class _RandomAccessIterator, class _Tp, class _Distance>
headers/cpp/stl_heap.h
207
_RandomAccessIterator __last, _Tp*, _Distance*)
headers/cpp/stl_heap.h
214
__adjust_heap(__first, __parent, __len, _Tp(*(__first + __parent)));
headers/cpp/stl_heap.h
229
class _Tp, class _Distance>
headers/cpp/stl_heap.h
232
_Compare __comp, _Tp*, _Distance*)
headers/cpp/stl_heap.h
239
__adjust_heap(__first, __parent, __len, _Tp(*(__first + __parent)),
headers/cpp/stl_heap.h
41
template <class _RandomAccessIterator, class _Distance, class _Tp>
headers/cpp/stl_heap.h
44
_Distance __holeIndex, _Distance __topIndex, _Tp __value)
headers/cpp/stl_heap.h
55
template <class _RandomAccessIterator, class _Distance, class _Tp>
headers/cpp/stl_heap.h
58
_RandomAccessIterator __last, _Distance*, _Tp*)
headers/cpp/stl_heap.h
61
_Tp(*(__last - 1)));
headers/cpp/stl_heap.h
72
template <class _RandomAccessIterator, class _Distance, class _Tp,
headers/cpp/stl_heap.h
76
_Distance __topIndex, _Tp __value, _Compare __comp)
headers/cpp/stl_heap.h
88
class _Distance, class _Tp>
headers/cpp/stl_heap.h
92
_Distance*, _Tp*)
headers/cpp/stl_heap.h
95
_Tp(*(__last - 1)), __comp);
headers/cpp/stl_iterator.h
111
template <class _Tp>
headers/cpp/stl_iterator.h
112
struct iterator_traits<_Tp*> {
headers/cpp/stl_iterator.h
114
typedef _Tp value_type;
headers/cpp/stl_iterator.h
116
typedef _Tp* pointer;
headers/cpp/stl_iterator.h
117
typedef _Tp& reference;
headers/cpp/stl_iterator.h
120
template <class _Tp>
headers/cpp/stl_iterator.h
121
struct iterator_traits<const _Tp*> {
headers/cpp/stl_iterator.h
123
typedef _Tp value_type;
headers/cpp/stl_iterator.h
125
typedef const _Tp* pointer;
headers/cpp/stl_iterator.h
126
typedef const _Tp& reference;
headers/cpp/stl_iterator.h
177
template <class _Tp, class _Distance>
headers/cpp/stl_iterator.h
179
iterator_category(const input_iterator<_Tp, _Distance>&)
headers/cpp/stl_iterator.h
185
template <class _Tp, class _Distance>
headers/cpp/stl_iterator.h
187
iterator_category(const forward_iterator<_Tp, _Distance>&)
headers/cpp/stl_iterator.h
190
template <class _Tp, class _Distance>
headers/cpp/stl_iterator.h
192
iterator_category(const bidirectional_iterator<_Tp, _Distance>&)
headers/cpp/stl_iterator.h
195
template <class _Tp, class _Distance>
headers/cpp/stl_iterator.h
197
iterator_category(const random_access_iterator<_Tp, _Distance>&)
headers/cpp/stl_iterator.h
200
template <class _Tp>
headers/cpp/stl_iterator.h
201
inline random_access_iterator_tag iterator_category(const _Tp*)
headers/cpp/stl_iterator.h
204
template <class _Tp, class _Distance>
headers/cpp/stl_iterator.h
205
inline _Tp* value_type(const input_iterator<_Tp, _Distance>&)
headers/cpp/stl_iterator.h
206
{ return (_Tp*)(0); }
headers/cpp/stl_iterator.h
208
template <class _Tp, class _Distance>
headers/cpp/stl_iterator.h
209
inline _Tp* value_type(const forward_iterator<_Tp, _Distance>&)
headers/cpp/stl_iterator.h
210
{ return (_Tp*)(0); }
headers/cpp/stl_iterator.h
212
template <class _Tp, class _Distance>
headers/cpp/stl_iterator.h
213
inline _Tp* value_type(const bidirectional_iterator<_Tp, _Distance>&)
headers/cpp/stl_iterator.h
214
{ return (_Tp*)(0); }
headers/cpp/stl_iterator.h
216
template <class _Tp, class _Distance>
headers/cpp/stl_iterator.h
217
inline _Tp* value_type(const random_access_iterator<_Tp, _Distance>&)
headers/cpp/stl_iterator.h
218
{ return (_Tp*)(0); }
headers/cpp/stl_iterator.h
220
template <class _Tp>
headers/cpp/stl_iterator.h
221
inline _Tp* value_type(const _Tp*) { return (_Tp*)(0); }
headers/cpp/stl_iterator.h
223
template <class _Tp, class _Distance>
headers/cpp/stl_iterator.h
224
inline _Distance* distance_type(const input_iterator<_Tp, _Distance>&)
headers/cpp/stl_iterator.h
229
template <class _Tp, class _Distance>
headers/cpp/stl_iterator.h
230
inline _Distance* distance_type(const forward_iterator<_Tp, _Distance>&)
headers/cpp/stl_iterator.h
235
template <class _Tp, class _Distance>
headers/cpp/stl_iterator.h
237
distance_type(const bidirectional_iterator<_Tp, _Distance>&)
headers/cpp/stl_iterator.h
242
template <class _Tp, class _Distance>
headers/cpp/stl_iterator.h
244
distance_type(const random_access_iterator<_Tp, _Distance>&)
headers/cpp/stl_iterator.h
249
template <class _Tp>
headers/cpp/stl_iterator.h
250
inline ptrdiff_t* distance_type(const _Tp*) { return (ptrdiff_t*)(0); }
headers/cpp/stl_iterator.h
47
template <class _Tp, class _Distance> struct input_iterator {
headers/cpp/stl_iterator.h
470
template <class _BidirectionalIterator, class _Tp, class _Reference = _Tp&,
headers/cpp/stl_iterator.h
473
template <class _BidirectionalIterator, class _Tp, class _Reference,
headers/cpp/stl_iterator.h
483
typedef _Tp value_type;
headers/cpp/stl_iterator.h
485
typedef _Tp* pointer;
headers/cpp/stl_iterator.h
49
typedef _Tp value_type;
headers/cpp/stl_iterator.h
51
typedef _Tp* pointer;
headers/cpp/stl_iterator.h
52
typedef _Tp& reference;
headers/cpp/stl_iterator.h
521
template <class _BidirectionalIterator, class _Tp, class _Reference,
headers/cpp/stl_iterator.h
525
_Tp, _Reference,
headers/cpp/stl_iterator.h
531
template <class _BidirectionalIterator, class _Tp, class _Reference,
headers/cpp/stl_iterator.h
533
inline _Tp*
headers/cpp/stl_iterator.h
534
value_type(const reverse_bidirectional_iterator<_BidirectionalIterator, _Tp,
headers/cpp/stl_iterator.h
537
return (_Tp*) 0;
headers/cpp/stl_iterator.h
540
template <class _BidirectionalIterator, class _Tp, class _Reference,
headers/cpp/stl_iterator.h
544
_Tp,
headers/cpp/stl_iterator.h
552
template <class _BiIter, class _Tp, class _Ref,
headers/cpp/stl_iterator.h
555
const reverse_bidirectional_iterator<_BiIter, _Tp, _Ref, _Distance>& __x,
headers/cpp/stl_iterator.h
556
const reverse_bidirectional_iterator<_BiIter, _Tp, _Ref, _Distance>& __y)
headers/cpp/stl_iterator.h
63
template <class _Tp, class _Distance> struct forward_iterator {
headers/cpp/stl_iterator.h
65
typedef _Tp value_type;
headers/cpp/stl_iterator.h
67
typedef _Tp* pointer;
headers/cpp/stl_iterator.h
677
template <class _RandomAccessIterator, class _Tp, class _Reference = _Tp&,
headers/cpp/stl_iterator.h
68
typedef _Tp& reference;
headers/cpp/stl_iterator.h
680
template <class _RandomAccessIterator, class _Tp, class _Reference,
headers/cpp/stl_iterator.h
690
typedef _Tp value_type;
headers/cpp/stl_iterator.h
692
typedef _Tp* pointer;
headers/cpp/stl_iterator.h
72
template <class _Tp, class _Distance> struct bidirectional_iterator {
headers/cpp/stl_iterator.h
737
template <class _RandomAccessIterator, class _Tp,
headers/cpp/stl_iterator.h
74
typedef _Tp value_type;
headers/cpp/stl_iterator.h
740
iterator_category(const reverse_iterator<_RandomAccessIterator, _Tp,
headers/cpp/stl_iterator.h
746
template <class _RandomAccessIterator, class _Tp,
headers/cpp/stl_iterator.h
748
inline _Tp* value_type(const reverse_iterator<_RandomAccessIterator, _Tp,
headers/cpp/stl_iterator.h
751
return (_Tp*) 0;
headers/cpp/stl_iterator.h
754
template <class _RandomAccessIterator, class _Tp,
headers/cpp/stl_iterator.h
758
_Tp, _Reference, _Distance>&)
headers/cpp/stl_iterator.h
76
typedef _Tp* pointer;
headers/cpp/stl_iterator.h
764
template <class _RandomAccessIterator, class _Tp,
headers/cpp/stl_iterator.h
767
operator==(const reverse_iterator<_RandomAccessIterator, _Tp,
headers/cpp/stl_iterator.h
769
const reverse_iterator<_RandomAccessIterator, _Tp,
headers/cpp/stl_iterator.h
77
typedef _Tp& reference;
headers/cpp/stl_iterator.h
775
template <class _RandomAccessIterator, class _Tp,
headers/cpp/stl_iterator.h
778
operator<(const reverse_iterator<_RandomAccessIterator, _Tp,
headers/cpp/stl_iterator.h
780
const reverse_iterator<_RandomAccessIterator, _Tp,
headers/cpp/stl_iterator.h
786
template <class _RandomAccessIterator, class _Tp,
headers/cpp/stl_iterator.h
789
operator-(const reverse_iterator<_RandomAccessIterator, _Tp,
headers/cpp/stl_iterator.h
791
const reverse_iterator<_RandomAccessIterator, _Tp,
headers/cpp/stl_iterator.h
797
template <class _RandAccIter, class _Tp, class _Ref, class _Dist>
headers/cpp/stl_iterator.h
798
inline reverse_iterator<_RandAccIter, _Tp, _Ref, _Dist>
headers/cpp/stl_iterator.h
80
template <class _Tp, class _Distance> struct random_access_iterator {
headers/cpp/stl_iterator.h
800
const reverse_iterator<_RandAccIter, _Tp, _Ref, _Dist>& __x)
headers/cpp/stl_iterator.h
802
return reverse_iterator<_RandAccIter, _Tp, _Ref, _Dist>(__x.base() - __n);
headers/cpp/stl_iterator.h
810
template <class _Tp, class _Dist = ptrdiff_t>
headers/cpp/stl_iterator.h
816
_Tp _M_value;
headers/cpp/stl_iterator.h
82
typedef _Tp value_type;
headers/cpp/stl_iterator.h
825
typedef _Tp value_type;
headers/cpp/stl_iterator.h
827
typedef const _Tp* pointer;
headers/cpp/stl_iterator.h
828
typedef const _Tp& reference;
headers/cpp/stl_iterator.h
836
istream_iterator<_Tp, _Dist>& operator++() {
headers/cpp/stl_iterator.h
84
typedef _Tp* pointer;
headers/cpp/stl_iterator.h
840
istream_iterator<_Tp, _Dist> operator++(int) {
headers/cpp/stl_iterator.h
841
istream_iterator<_Tp, _Dist> __tmp = *this;
headers/cpp/stl_iterator.h
849
template <class _Tp, class _Dist>
headers/cpp/stl_iterator.h
85
typedef _Tp& reference;
headers/cpp/stl_iterator.h
851
iterator_category(const istream_iterator<_Tp, _Dist>&)
headers/cpp/stl_iterator.h
856
template <class _Tp, class _Dist>
headers/cpp/stl_iterator.h
857
inline _Tp*
headers/cpp/stl_iterator.h
858
value_type(const istream_iterator<_Tp, _Dist>&) { return (_Tp*) 0; }
headers/cpp/stl_iterator.h
860
template <class _Tp, class _Dist>
headers/cpp/stl_iterator.h
862
distance_type(const istream_iterator<_Tp, _Dist>&) { return (_Dist*)0; }
headers/cpp/stl_iterator.h
866
template <class _Tp, class _Distance>
headers/cpp/stl_iterator.h
867
inline bool operator==(const istream_iterator<_Tp, _Distance>& __x,
headers/cpp/stl_iterator.h
868
const istream_iterator<_Tp, _Distance>& __y) {
headers/cpp/stl_iterator.h
874
template <class _Tp>
headers/cpp/stl_iterator.h
889
ostream_iterator<_Tp>& operator=(const _Tp& __value) {
headers/cpp/stl_iterator.h
89
template <class _Category, class _Tp, class _Distance = ptrdiff_t,
headers/cpp/stl_iterator.h
894
ostream_iterator<_Tp>& operator*() { return *this; }
headers/cpp/stl_iterator.h
895
ostream_iterator<_Tp>& operator++() { return *this; }
headers/cpp/stl_iterator.h
896
ostream_iterator<_Tp>& operator++(int) { return *this; }
headers/cpp/stl_iterator.h
90
class _Pointer = _Tp*, class _Reference = _Tp&>
headers/cpp/stl_iterator.h
901
template <class _Tp>
headers/cpp/stl_iterator.h
903
iterator_category(const ostream_iterator<_Tp>&) {
headers/cpp/stl_iterator.h
93
typedef _Tp value_type;
headers/cpp/stl_list.h
101
iterator_category(const _List_iterator<_Tp, _Ref, _Ptr>&)
headers/cpp/stl_list.h
106
template <class _Tp, class _Ref, class _Ptr>
headers/cpp/stl_list.h
107
inline _Tp*
headers/cpp/stl_list.h
108
value_type(const _List_iterator<_Tp, _Ref, _Ptr>&)
headers/cpp/stl_list.h
113
template <class _Tp, class _Ref, class _Ptr>
headers/cpp/stl_list.h
115
distance_type(const _List_iterator<_Tp, _Ref, _Ptr>&)
headers/cpp/stl_list.h
133
template <class _Tp, class _Allocator, bool _IsStatic>
headers/cpp/stl_list.h
143
_List_node<_Tp>* _M_get_node()
headers/cpp/stl_list.h
145
void _M_put_node(_List_node<_Tp>* __p)
headers/cpp/stl_list.h
149
typename _Alloc_traits<_List_node<_Tp>, _Allocator>::allocator_type
headers/cpp/stl_list.h
151
_List_node<_Tp>* _M_node;
headers/cpp/stl_list.h
156
template <class _Tp, class _Allocator>
headers/cpp/stl_list.h
157
class _List_alloc_base<_Tp, _Allocator, true> {
headers/cpp/stl_list.h
168
_List_node<_Tp>* _M_get_node() { return _Alloc_type::allocate(1); }
headers/cpp/stl_list.h
169
void _M_put_node(_List_node<_Tp>* __p) { _Alloc_type::deallocate(__p, 1); }
headers/cpp/stl_list.h
172
_List_node<_Tp>* _M_node;
headers/cpp/stl_list.h
175
template <class _Tp, class _Alloc>
headers/cpp/stl_list.h
177
: public _List_alloc_base<_Tp, _Alloc,
headers/cpp/stl_list.h
178
_Alloc_traits<_Tp, _Alloc>::_S_instanceless>
headers/cpp/stl_list.h
201
template <class _Tp, class _Alloc>
headers/cpp/stl_list.h
222
_List_node<_Tp>* _M_get_node() { return _Alloc_type::allocate(1); }
headers/cpp/stl_list.h
223
void _M_put_node(_List_node<_Tp>* __p) { _Alloc_type::deallocate(__p, 1); }
headers/cpp/stl_list.h
226
_List_node<_Tp>* _M_node;
headers/cpp/stl_list.h
231
template <class _Tp, class _Alloc>
headers/cpp/stl_list.h
233
_List_base<_Tp,_Alloc>::clear()
headers/cpp/stl_list.h
235
_List_node<_Tp>* __cur = (_List_node<_Tp>*) _M_node->_M_next;
headers/cpp/stl_list.h
237
_List_node<_Tp>* __tmp = __cur;
headers/cpp/stl_list.h
238
__cur = (_List_node<_Tp>*) __cur->_M_next;
headers/cpp/stl_list.h
246
template <class _Tp, class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >
headers/cpp/stl_list.h
247
class list : protected _List_base<_Tp, _Alloc> {
headers/cpp/stl_list.h
253
typedef _Tp value_type;
headers/cpp/stl_list.h
258
typedef _List_node<_Tp> _Node;
headers/cpp/stl_list.h
266
typedef _List_iterator<_Tp,_Tp&,_Tp*> iterator;
headers/cpp/stl_list.h
267
typedef _List_iterator<_Tp,const _Tp&,const _Tp*> const_iterator;
headers/cpp/stl_list.h
289
_Node* _M_create_node(const _Tp& __x)
headers/cpp/stl_list.h
341
void swap(list<_Tp, _Alloc>& __x) { __STD::swap(_M_node, __x._M_node); }
headers/cpp/stl_list.h
343
iterator insert(iterator __position, const _Tp& __x) {
headers/cpp/stl_list.h
351
iterator insert(iterator __position) { return insert(__position, _Tp()); }
headers/cpp/stl_list.h
358
insert(__pos, (size_type) __n, (_Tp) __x);
headers/cpp/stl_list.h
373
void insert(iterator __position, const _Tp* __first, const _Tp* __last);
headers/cpp/stl_list.h
377
void insert(iterator __pos, size_type __n, const _Tp& __x);
headers/cpp/stl_list.h
379
void push_front(const _Tp& __x) { insert(begin(), __x); }
headers/cpp/stl_list.h
381
void push_back(const _Tp& __x) { insert(end(), __x); }
headers/cpp/stl_list.h
396
void resize(size_type __new_size, const _Tp& __x);
headers/cpp/stl_list.h
397
void resize(size_type __new_size) { resize(__new_size, _Tp()); }
headers/cpp/stl_list.h
404
list(size_type __n, const _Tp& __value,
headers/cpp/stl_list.h
41
template <class _Tp>
headers/cpp/stl_list.h
410
{ insert(begin(), __n, _Tp()); }
headers/cpp/stl_list.h
424
list(const _Tp* __first, const _Tp* __last,
headers/cpp/stl_list.h
434
list(const list<_Tp, _Alloc>& __x) : _Base(__x.get_allocator())
headers/cpp/stl_list.h
439
list<_Tp, _Alloc>& operator=(const list<_Tp, _Alloc>& __x);
headers/cpp/stl_list.h
447
void assign(size_type __n, const _Tp& __val);
headers/cpp/stl_list.h
459
{ assign((size_type) __n, (_Tp) __val); }
headers/cpp/stl_list.h
46
_Tp _M_data;
headers/cpp/stl_list.h
49
template<class _Tp, class _Ref, class _Ptr>
headers/cpp/stl_list.h
498
void remove(const _Tp& __value);
headers/cpp/stl_list.h
51
typedef _List_iterator<_Tp,_Tp&,_Tp*> iterator;
headers/cpp/stl_list.h
515
template <class _Tp, class _Alloc>
headers/cpp/stl_list.h
516
inline bool operator==(const list<_Tp,_Alloc>& __x,
headers/cpp/stl_list.h
517
const list<_Tp,_Alloc>& __y)
headers/cpp/stl_list.h
52
typedef _List_iterator<_Tp,const _Tp&,const _Tp*> const_iterator;
headers/cpp/stl_list.h
531
template <class _Tp, class _Alloc>
headers/cpp/stl_list.h
532
inline bool operator<(const list<_Tp,_Alloc>& __x,
headers/cpp/stl_list.h
533
const list<_Tp,_Alloc>& __y)
headers/cpp/stl_list.h
541
template <class _Tp, class _Alloc>
headers/cpp/stl_list.h
543
swap(list<_Tp, _Alloc>& __x, list<_Tp, _Alloc>& __y)
headers/cpp/stl_list.h
552
template <class _Tp, class _Alloc> template <class _InputIter>
headers/cpp/stl_list.h
554
list<_Tp, _Alloc>::_M_insert_dispatch(iterator __position,
headers/cpp/stl_list.h
56
typedef _Tp value_type;
headers/cpp/stl_list.h
564
template <class _Tp, class _Alloc>
headers/cpp/stl_list.h
566
list<_Tp, _Alloc>::insert(iterator __position,
headers/cpp/stl_list.h
567
const _Tp* __first, const _Tp* __last)
headers/cpp/stl_list.h
573
template <class _Tp, class _Alloc>
headers/cpp/stl_list.h
575
list<_Tp, _Alloc>::insert(iterator __position,
headers/cpp/stl_list.h
584
template <class _Tp, class _Alloc>
headers/cpp/stl_list.h
586
list<_Tp, _Alloc>::insert(iterator __position, size_type __n, const _Tp& __x)
headers/cpp/stl_list.h
59
typedef _List_node<_Tp> _Node;
headers/cpp/stl_list.h
592
template <class _Tp, class _Alloc>
headers/cpp/stl_list.h
593
list<_Tp,_Alloc>::iterator list<_Tp, _Alloc>::erase(iterator __first,
headers/cpp/stl_list.h
601
template <class _Tp, class _Alloc>
headers/cpp/stl_list.h
602
void list<_Tp, _Alloc>::resize(size_type __new_size, const _Tp& __x)
headers/cpp/stl_list.h
614
template <class _Tp, class _Alloc>
headers/cpp/stl_list.h
615
list<_Tp, _Alloc>& list<_Tp, _Alloc>::operator=(const list<_Tp, _Alloc>& __x)
headers/cpp/stl_list.h
632
template <class _Tp, class _Alloc>
headers/cpp/stl_list.h
633
void list<_Tp, _Alloc>::assign(size_type __n, const _Tp& __val) {
headers/cpp/stl_list.h
645
template <class _Tp, class _Alloc> template <class _InputIter>
headers/cpp/stl_list.h
647
list<_Tp, _Alloc>::_M_assign_dispatch(_InputIter __first2, _InputIter __last2,
headers/cpp/stl_list.h
662
template <class _Tp, class _Alloc>
headers/cpp/stl_list.h
663
void list<_Tp, _Alloc>::remove(const _Tp& __value)
headers/cpp/stl_list.h
675
template <class _Tp, class _Alloc>
headers/cpp/stl_list.h
676
void list<_Tp, _Alloc>::unique()
headers/cpp/stl_list.h
691
template <class _Tp, class _Alloc>
headers/cpp/stl_list.h
692
void list<_Tp, _Alloc>::merge(list<_Tp, _Alloc>& __x)
headers/cpp/stl_list.h
709
template <class _Tp, class _Alloc>
headers/cpp/stl_list.h
710
void list<_Tp, _Alloc>::reverse()
headers/cpp/stl_list.h
725
template <class _Tp, class _Alloc>
headers/cpp/stl_list.h
726
void list<_Tp, _Alloc>::sort()
headers/cpp/stl_list.h
731
list<_Tp, _Alloc> __carry;
headers/cpp/stl_list.h
732
list<_Tp, _Alloc> __counter[64];
headers/cpp/stl_list.h
753
template <class _Tp, class _Alloc> template <class _Predicate>
headers/cpp/stl_list.h
754
void list<_Tp, _Alloc>::remove_if(_Predicate __pred)
headers/cpp/stl_list.h
766
template <class _Tp, class _Alloc> template <class _BinaryPredicate>
headers/cpp/stl_list.h
767
void list<_Tp, _Alloc>::unique(_BinaryPredicate __binary_pred)
headers/cpp/stl_list.h
782
template <class _Tp, class _Alloc> template <class _StrictWeakOrdering>
headers/cpp/stl_list.h
783
void list<_Tp, _Alloc>::merge(list<_Tp, _Alloc>& __x,
headers/cpp/stl_list.h
801
template <class _Tp, class _Alloc> template <class _StrictWeakOrdering>
headers/cpp/stl_list.h
802
void list<_Tp, _Alloc>::sort(_StrictWeakOrdering __comp)
headers/cpp/stl_list.h
807
list<_Tp, _Alloc> __carry;
headers/cpp/stl_list.h
808
list<_Tp, _Alloc> __counter[64];
headers/cpp/stl_list.h
99
template <class _Tp, class _Ref, class _Ptr>
headers/cpp/stl_map.h
125
map(const map<_Key,_Tp,_Compare,_Alloc>& __x) : _M_t(__x._M_t) {}
headers/cpp/stl_map.h
126
map<_Key,_Tp,_Compare,_Alloc>&
headers/cpp/stl_map.h
127
operator=(const map<_Key, _Tp, _Compare, _Alloc>& __x)
headers/cpp/stl_map.h
150
_Tp& operator[](const key_type& __k) {
headers/cpp/stl_map.h
154
__i = insert(__i, value_type(__k, _Tp()));
headers/cpp/stl_map.h
157
void swap(map<_Key,_Tp,_Compare,_Alloc>& __x) { _M_t.swap(__x._M_t); }
headers/cpp/stl_map.h
209
template <class _Key, class _Tp, class _Compare, class _Alloc>
headers/cpp/stl_map.h
210
inline bool operator==(const map<_Key,_Tp,_Compare,_Alloc>& __x,
headers/cpp/stl_map.h
211
const map<_Key,_Tp,_Compare,_Alloc>& __y) {
headers/cpp/stl_map.h
215
template <class _Key, class _Tp, class _Compare, class _Alloc>
headers/cpp/stl_map.h
216
inline bool operator<(const map<_Key,_Tp,_Compare,_Alloc>& __x,
headers/cpp/stl_map.h
217
const map<_Key,_Tp,_Compare,_Alloc>& __y) {
headers/cpp/stl_map.h
223
template <class _Key, class _Tp, class _Compare, class _Alloc>
headers/cpp/stl_map.h
224
inline void swap(map<_Key,_Tp,_Compare,_Alloc>& __x,
headers/cpp/stl_map.h
225
map<_Key,_Tp,_Compare,_Alloc>& __y) {
headers/cpp/stl_map.h
42
template <class _Key, class _Tp, class _Compare = less<_Key>,
headers/cpp/stl_map.h
43
class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >
headers/cpp/stl_map.h
45
template <class _Key, class _Tp, class _Compare,
headers/cpp/stl_map.h
46
class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >
headers/cpp/stl_map.h
54
typedef _Tp data_type;
headers/cpp/stl_map.h
55
typedef _Tp mapped_type;
headers/cpp/stl_map.h
56
typedef pair<const _Key, _Tp> value_type;
headers/cpp/stl_map.h
61
friend class map<_Key,_Tp,_Compare,_Alloc>;
headers/cpp/stl_multimap.h
123
multimap(const multimap<_Key,_Tp,_Compare,_Alloc>& __x) : _M_t(__x._M_t) { }
headers/cpp/stl_multimap.h
124
multimap<_Key,_Tp,_Compare,_Alloc>&
headers/cpp/stl_multimap.h
125
operator=(const multimap<_Key,_Tp,_Compare,_Alloc>& __x) {
headers/cpp/stl_multimap.h
147
void swap(multimap<_Key,_Tp,_Compare,_Alloc>& __x) { _M_t.swap(__x._M_t); }
headers/cpp/stl_multimap.h
199
template <class _Key, class _Tp, class _Compare, class _Alloc>
headers/cpp/stl_multimap.h
200
inline bool operator==(const multimap<_Key,_Tp,_Compare,_Alloc>& __x,
headers/cpp/stl_multimap.h
201
const multimap<_Key,_Tp,_Compare,_Alloc>& __y) {
headers/cpp/stl_multimap.h
205
template <class _Key, class _Tp, class _Compare, class _Alloc>
headers/cpp/stl_multimap.h
206
inline bool operator<(const multimap<_Key,_Tp,_Compare,_Alloc>& __x,
headers/cpp/stl_multimap.h
207
const multimap<_Key,_Tp,_Compare,_Alloc>& __y) {
headers/cpp/stl_multimap.h
213
template <class _Key, class _Tp, class _Compare, class _Alloc>
headers/cpp/stl_multimap.h
214
inline void swap(multimap<_Key,_Tp,_Compare,_Alloc>& __x,
headers/cpp/stl_multimap.h
215
multimap<_Key,_Tp,_Compare,_Alloc>& __y) {
headers/cpp/stl_multimap.h
42
template <class _Key, class _Tp, class _Compare = less<_Key>,
headers/cpp/stl_multimap.h
43
class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >
headers/cpp/stl_multimap.h
45
template <class _Key, class _Tp, class _Compare,
headers/cpp/stl_multimap.h
46
class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >
headers/cpp/stl_multimap.h
54
typedef _Tp data_type;
headers/cpp/stl_multimap.h
55
typedef _Tp mapped_type;
headers/cpp/stl_multimap.h
56
typedef pair<const _Key, _Tp> value_type;
headers/cpp/stl_multimap.h
60
friend class multimap<_Key,_Tp,_Compare,_Alloc>;
headers/cpp/stl_numeric.h
102
_OutputIterator __result, _Tp*, _BinaryOperation __binary_op)
headers/cpp/stl_numeric.h
104
_Tp __value = *__first;
headers/cpp/stl_numeric.h
123
template <class _InputIterator, class _OutputIterator, class _Tp>
headers/cpp/stl_numeric.h
126
_OutputIterator __result, _Tp*)
headers/cpp/stl_numeric.h
128
_Tp __value = *__first;
headers/cpp/stl_numeric.h
130
_Tp __tmp = *__first;
headers/cpp/stl_numeric.h
148
template <class _InputIterator, class _OutputIterator, class _Tp,
headers/cpp/stl_numeric.h
152
_OutputIterator __result, _Tp*,
headers/cpp/stl_numeric.h
154
_Tp __value = *__first;
headers/cpp/stl_numeric.h
156
_Tp __tmp = *__first;
headers/cpp/stl_numeric.h
179
template <class _Tp, class _Integer, class _MonoidOperation>
headers/cpp/stl_numeric.h
180
_Tp __power(_Tp __x, _Integer __n, _MonoidOperation __oper)
headers/cpp/stl_numeric.h
190
_Tp __result = __x;
headers/cpp/stl_numeric.h
202
template <class _Tp, class _Integer>
headers/cpp/stl_numeric.h
203
inline _Tp __power(_Tp __x, _Integer __n)
headers/cpp/stl_numeric.h
205
return __power(__x, __n, multiplies<_Tp>());
headers/cpp/stl_numeric.h
211
template <class _Tp, class _Integer, class _MonoidOperation>
headers/cpp/stl_numeric.h
212
inline _Tp power(_Tp __x, _Integer __n, _MonoidOperation __oper)
headers/cpp/stl_numeric.h
217
template <class _Tp, class _Integer>
headers/cpp/stl_numeric.h
218
inline _Tp power(_Tp __x, _Integer __n)
headers/cpp/stl_numeric.h
225
template <class _ForwardIterator, class _Tp>
headers/cpp/stl_numeric.h
227
iota(_ForwardIterator __first, _ForwardIterator __last, _Tp __value)
headers/cpp/stl_numeric.h
37
template <class _InputIterator, class _Tp>
headers/cpp/stl_numeric.h
38
_Tp accumulate(_InputIterator __first, _InputIterator __last, _Tp __init)
headers/cpp/stl_numeric.h
45
template <class _InputIterator, class _Tp, class _BinaryOperation>
headers/cpp/stl_numeric.h
46
_Tp accumulate(_InputIterator __first, _InputIterator __last, _Tp __init,
headers/cpp/stl_numeric.h
54
template <class _InputIterator1, class _InputIterator2, class _Tp>
headers/cpp/stl_numeric.h
55
_Tp inner_product(_InputIterator1 __first1, _InputIterator1 __last1,
headers/cpp/stl_numeric.h
56
_InputIterator2 __first2, _Tp __init)
headers/cpp/stl_numeric.h
63
template <class _InputIterator1, class _InputIterator2, class _Tp,
headers/cpp/stl_numeric.h
65
_Tp inner_product(_InputIterator1 __first1, _InputIterator1 __last1,
headers/cpp/stl_numeric.h
66
_InputIterator2 __first2, _Tp __init,
headers/cpp/stl_numeric.h
75
template <class _InputIterator, class _OutputIterator, class _Tp>
headers/cpp/stl_numeric.h
78
_OutputIterator __result, _Tp*)
headers/cpp/stl_numeric.h
80
_Tp __value = *__first;
headers/cpp/stl_numeric.h
98
template <class _InputIterator, class _OutputIterator, class _Tp,
headers/cpp/stl_queue.h
104
template <class _Tp, class _Sequence>
headers/cpp/stl_queue.h
106
operator>=(const queue<_Tp, _Sequence>& __x, const queue<_Tp, _Sequence>& __y)
headers/cpp/stl_queue.h
114
template <class _Tp, class _Sequence = vector<_Tp>,
headers/cpp/stl_queue.h
117
template <class _Tp, class _Sequence, class _Compare>
headers/cpp/stl_queue.h
37
template <class _Tp, class _Sequence = deque<_Tp> >
headers/cpp/stl_queue.h
39
template <class _Tp, class _Sequence>
headers/cpp/stl_queue.h
67
template <class _Tp, class _Sequence>
headers/cpp/stl_queue.h
69
operator==(const queue<_Tp, _Sequence>& __x, const queue<_Tp, _Sequence>& __y)
headers/cpp/stl_queue.h
74
template <class _Tp, class _Sequence>
headers/cpp/stl_queue.h
76
operator<(const queue<_Tp, _Sequence>& __x, const queue<_Tp, _Sequence>& __y)
headers/cpp/stl_queue.h
83
template <class _Tp, class _Sequence>
headers/cpp/stl_queue.h
85
operator!=(const queue<_Tp, _Sequence>& __x, const queue<_Tp, _Sequence>& __y)
headers/cpp/stl_queue.h
90
template <class _Tp, class _Sequence>
headers/cpp/stl_queue.h
92
operator>(const queue<_Tp, _Sequence>& __x, const queue<_Tp, _Sequence>& __y)
headers/cpp/stl_queue.h
97
template <class _Tp, class _Sequence>
headers/cpp/stl_queue.h
99
operator<=(const queue<_Tp, _Sequence>& __x, const queue<_Tp, _Sequence>& __y)
headers/cpp/stl_raw_storage_iter.h
36
template <class _ForwardIterator, class _Tp>
headers/cpp/stl_raw_storage_iter.h
49
raw_storage_iterator& operator=(const _Tp& __element) {
headers/cpp/stl_raw_storage_iter.h
53
raw_storage_iterator<_ForwardIterator, _Tp>& operator++() {
headers/cpp/stl_raw_storage_iter.h
57
raw_storage_iterator<_ForwardIterator, _Tp> operator++(int) {
headers/cpp/stl_raw_storage_iter.h
58
raw_storage_iterator<_ForwardIterator, _Tp> __tmp = *this;
headers/cpp/stl_raw_storage_iter.h
66
template <class _ForwardIterator, class _Tp>
headers/cpp/stl_raw_storage_iter.h
68
iterator_category(const raw_storage_iterator<_ForwardIterator, _Tp>&)
headers/cpp/stl_relops.h
36
template <class _Tp>
headers/cpp/stl_relops.h
37
inline bool operator!=(const _Tp& __x, const _Tp& __y) {
headers/cpp/stl_relops.h
41
template <class _Tp>
headers/cpp/stl_relops.h
42
inline bool operator>(const _Tp& __x, const _Tp& __y) {
headers/cpp/stl_relops.h
46
template <class _Tp>
headers/cpp/stl_relops.h
47
inline bool operator<=(const _Tp& __x, const _Tp& __y) {
headers/cpp/stl_relops.h
51
template <class _Tp>
headers/cpp/stl_relops.h
52
inline bool operator>=(const _Tp& __x, const _Tp& __y) {
headers/cpp/stl_rope.h
1180
# define __ROPE_DEFINE_ALLOC(_Tp, __name) \
headers/cpp/stl_rope.h
1183
_Tp* __name##_allocate(size_t __n) const \
headers/cpp/stl_rope.h
1185
void __name##_deallocate(_Tp *__p, size_t __n) const \
headers/cpp/stl_rope.h
1208
# define __ROPE_DEFINE_ALLOC(_Tp, __name) \
headers/cpp/stl_rope.h
1213
static _Tp* __name##_allocate(size_t __n) \
headers/cpp/stl_rope.h
1215
static void __name##_deallocate(_Tp *__p, size_t __n) \
headers/cpp/stl_rope.h
1249
# define __ROPE_DEFINE_ALLOC(_Tp, __name) \
headers/cpp/stl_rope.h
1251
static _Tp* __name##_allocate(size_t __n) \
headers/cpp/stl_rope.h
1253
static void __name##_deallocate(_Tp *__p, size_t __n) \
headers/cpp/stl_rope.h
293
# define __ROPE_DEFINE_ALLOC(_Tp, __name) \
headers/cpp/stl_rope.h
296
/*static*/ _Tp * __name##_allocate(size_t __n) \
headers/cpp/stl_rope.h
298
void __name##_deallocate(_Tp* __p, size_t __n) \
headers/cpp/stl_rope.h
318
# define __ROPE_DEFINE_ALLOC(_Tp, __name) \
headers/cpp/stl_rope.h
323
static _Tp* __name##_allocate(size_t __n) \
headers/cpp/stl_rope.h
325
void __name##_deallocate(_Tp *__p, size_t __n) \
headers/cpp/stl_rope.h
358
# define __ROPE_DEFINE_ALLOC(_Tp, __name) \
headers/cpp/stl_rope.h
360
static _Tp* __name##_allocate(size_t __n) \
headers/cpp/stl_rope.h
362
static void __name##_deallocate(_Tp* __p, size_t __n) \
headers/cpp/stl_slist.h
100
_Tp _M_data;
headers/cpp/stl_slist.h
122
template <class _Tp, class _Ref, class _Ptr>
headers/cpp/stl_slist.h
125
typedef _Slist_iterator<_Tp, _Tp&, _Tp*> iterator;
headers/cpp/stl_slist.h
126
typedef _Slist_iterator<_Tp, const _Tp&, const _Tp*> const_iterator;
headers/cpp/stl_slist.h
129
typedef _Tp value_type;
headers/cpp/stl_slist.h
132
typedef _Slist_node<_Tp> _Node;
headers/cpp/stl_slist.h
166
template <class _Tp, class _Ref, class _Ptr>
headers/cpp/stl_slist.h
167
inline _Tp* value_type(const _Slist_iterator<_Tp, _Ref, _Ptr>&) {
headers/cpp/stl_slist.h
183
template <class _Tp, class _Allocator, bool _IsStatic>
headers/cpp/stl_slist.h
193
_Slist_node<_Tp>* _M_get_node()
headers/cpp/stl_slist.h
195
void _M_put_node(_Slist_node<_Tp>* __p)
headers/cpp/stl_slist.h
199
typename _Alloc_traits<_Slist_node<_Tp>,_Allocator>::allocator_type
headers/cpp/stl_slist.h
205
template <class _Tp, class _Allocator>
headers/cpp/stl_slist.h
206
class _Slist_alloc_base<_Tp,_Allocator, true> {
headers/cpp/stl_slist.h
217
_Slist_node<_Tp>* _M_get_node() { return _Alloc_type::allocate(1); }
headers/cpp/stl_slist.h
218
void _M_put_node(_Slist_node<_Tp>* __p) { _Alloc_type::deallocate(__p, 1); }
headers/cpp/stl_slist.h
225
template <class _Tp, class _Alloc>
headers/cpp/stl_slist.h
227
: public _Slist_alloc_base<_Tp, _Alloc,
headers/cpp/stl_slist.h
228
_Alloc_traits<_Tp, _Alloc>::_S_instanceless>
headers/cpp/stl_slist.h
242
_Slist_node<_Tp>* __next = (_Slist_node<_Tp>*) (__pos->_M_next);
headers/cpp/stl_slist.h
254
template <class _Tp, class _Alloc>
headers/cpp/stl_slist.h
264
_Slist_node<_Tp>* _M_get_node() { return _Alloc_type::allocate(1); }
headers/cpp/stl_slist.h
265
void _M_put_node(_Slist_node<_Tp>* __p) { _Alloc_type::deallocate(__p, 1); }
headers/cpp/stl_slist.h
269
_Slist_node<_Tp>* __next = (_Slist_node<_Tp>*) (__pos->_M_next);
headers/cpp/stl_slist.h
284
template <class _Tp, class _Alloc>
headers/cpp/stl_slist.h
286
_Slist_base<_Tp,_Alloc>::_M_erase_after(_Slist_node_base* __before_first,
headers/cpp/stl_slist.h
288
_Slist_node<_Tp>* __cur = (_Slist_node<_Tp>*) (__before_first->_M_next);
headers/cpp/stl_slist.h
290
_Slist_node<_Tp>* __tmp = __cur;
headers/cpp/stl_slist.h
291
__cur = (_Slist_node<_Tp>*) __cur->_M_next;
headers/cpp/stl_slist.h
299
template <class _Tp, class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >
headers/cpp/stl_slist.h
300
class slist : private _Slist_base<_Tp,_Alloc>
headers/cpp/stl_slist.h
305
typedef _Tp value_type;
headers/cpp/stl_slist.h
313
typedef _Slist_iterator<_Tp, _Tp&, _Tp*> iterator;
headers/cpp/stl_slist.h
314
typedef _Slist_iterator<_Tp, const _Tp&, const _Tp*> const_iterator;
headers/cpp/stl_slist.h
320
typedef _Slist_node<_Tp> _Node;
headers/cpp/stl_slist.h
392
void assign(size_type __n, const _Tp& __val);
headers/cpp/stl_slist.h
404
{ assign((size_type) __n, (_Tp) __val); }
headers/cpp/stl_slist.h
430
friend bool operator== __STL_NULL_TMPL_ARGS (const slist<_Tp,_Alloc>& _SL1,
headers/cpp/stl_slist.h
431
const slist<_Tp,_Alloc>& _SL2);
headers/cpp/stl_slist.h
610
void resize(size_type new_size, const _Tp& __x);
headers/cpp/stl_slist.h
611
void resize(size_type new_size) { resize(new_size, _Tp()); }
headers/cpp/stl_slist.h
664
void remove(const _Tp& __val);
headers/cpp/stl_slist.h
684
template <class _Tp, class _Alloc>
headers/cpp/stl_slist.h
685
slist<_Tp,_Alloc>& slist<_Tp,_Alloc>::operator=(const slist<_Tp,_Alloc>& __x)
headers/cpp/stl_slist.h
706
template <class _Tp, class _Alloc>
headers/cpp/stl_slist.h
707
void slist<_Tp, _Alloc>::assign(size_type __n, const _Tp& __val) {
headers/cpp/stl_slist.h
723
template <class _Tp, class _Alloc> template <class _InputIter>
headers/cpp/stl_slist.h
725
slist<_Tp, _Alloc>::_M_assign_dispatch(_InputIter __first, _InputIter __last,
headers/cpp/stl_slist.h
744
template <class _Tp, class _Alloc>
headers/cpp/stl_slist.h
746
operator==(const slist<_Tp,_Alloc>& _SL1, const slist<_Tp,_Alloc>& _SL2)
headers/cpp/stl_slist.h
758
template <class _Tp, class _Alloc>
headers/cpp/stl_slist.h
759
inline bool operator<(const slist<_Tp,_Alloc>& _SL1,
headers/cpp/stl_slist.h
760
const slist<_Tp,_Alloc>& _SL2)
headers/cpp/stl_slist.h
768
template <class _Tp, class _Alloc>
headers/cpp/stl_slist.h
769
inline void swap(slist<_Tp,_Alloc>& __x, slist<_Tp,_Alloc>& __y) {
headers/cpp/stl_slist.h
776
template <class _Tp, class _Alloc>
headers/cpp/stl_slist.h
777
void slist<_Tp,_Alloc>::resize(size_type __len, const _Tp& __x)
headers/cpp/stl_slist.h
790
template <class _Tp, class _Alloc>
headers/cpp/stl_slist.h
791
void slist<_Tp,_Alloc>::remove(const _Tp& __val)
headers/cpp/stl_slist.h
802
template <class _Tp, class _Alloc>
headers/cpp/stl_slist.h
803
void slist<_Tp,_Alloc>::unique()
headers/cpp/stl_slist.h
817
template <class _Tp, class _Alloc>
headers/cpp/stl_slist.h
818
void slist<_Tp,_Alloc>::merge(slist<_Tp,_Alloc>& __x)
headers/cpp/stl_slist.h
833
template <class _Tp, class _Alloc>
headers/cpp/stl_slist.h
834
void slist<_Tp,_Alloc>::sort()
headers/cpp/stl_slist.h
861
template <class _Tp, class _Alloc>
headers/cpp/stl_slist.h
863
void slist<_Tp,_Alloc>::remove_if(_Predicate __pred)
headers/cpp/stl_slist.h
874
template <class _Tp, class _Alloc> template <class _BinaryPredicate>
headers/cpp/stl_slist.h
875
void slist<_Tp,_Alloc>::unique(_BinaryPredicate __pred)
headers/cpp/stl_slist.h
889
template <class _Tp, class _Alloc> template <class _StrictWeakOrdering>
headers/cpp/stl_slist.h
890
void slist<_Tp,_Alloc>::merge(slist<_Tp,_Alloc>& __x,
headers/cpp/stl_slist.h
906
template <class _Tp, class _Alloc> template <class _StrictWeakOrdering>
headers/cpp/stl_slist.h
907
void slist<_Tp,_Alloc>::sort(_StrictWeakOrdering __comp)
headers/cpp/stl_slist.h
97
template <class _Tp>
headers/cpp/stl_stack.h
37
template <class _Tp, class _Sequence = deque<_Tp> >
headers/cpp/stl_stack.h
39
template <class _Tp, class _Sequence>
headers/cpp/stl_stack.h
65
template <class _Tp, class _Seq>
headers/cpp/stl_stack.h
66
bool operator==(const stack<_Tp,_Seq>& __x, const stack<_Tp,_Seq>& __y)
headers/cpp/stl_stack.h
71
template <class _Tp, class _Seq>
headers/cpp/stl_stack.h
72
bool operator<(const stack<_Tp,_Seq>& __x, const stack<_Tp,_Seq>& __y)
headers/cpp/stl_stack.h
79
template <class _Tp, class _Seq>
headers/cpp/stl_stack.h
80
bool operator!=(const stack<_Tp,_Seq>& __x, const stack<_Tp,_Seq>& __y)
headers/cpp/stl_stack.h
85
template <class _Tp, class _Seq>
headers/cpp/stl_stack.h
86
bool operator>(const stack<_Tp,_Seq>& __x, const stack<_Tp,_Seq>& __y)
headers/cpp/stl_stack.h
91
template <class _Tp, class _Seq>
headers/cpp/stl_stack.h
92
bool operator<=(const stack<_Tp,_Seq>& __x, const stack<_Tp,_Seq>& __y)
headers/cpp/stl_stack.h
97
template <class _Tp, class _Seq>
headers/cpp/stl_stack.h
98
bool operator>=(const stack<_Tp,_Seq>& __x, const stack<_Tp,_Seq>& __y)
headers/cpp/stl_tempbuf.h
100
void _M_initialize_buffer(const _Tp&, __true_type) {}
headers/cpp/stl_tempbuf.h
101
void _M_initialize_buffer(const _Tp& val, __false_type) {
headers/cpp/stl_tempbuf.h
108
_Tp* begin() { return _M_buffer; }
headers/cpp/stl_tempbuf.h
109
_Tp* end() { return _M_buffer + _M_len; }
headers/cpp/stl_tempbuf.h
112
typedef typename __type_traits<_Tp>::has_trivial_default_constructor
headers/cpp/stl_tempbuf.h
138
class _Tp
headers/cpp/stl_tempbuf.h
143
struct temporary_buffer : public _Temporary_buffer<_ForwardIterator, _Tp>
headers/cpp/stl_tempbuf.h
146
: _Temporary_buffer<_ForwardIterator, _Tp>(__first, __last) {}
headers/cpp/stl_tempbuf.h
37
template <class _Tp>
headers/cpp/stl_tempbuf.h
38
pair<_Tp*, ptrdiff_t>
headers/cpp/stl_tempbuf.h
39
__get_temporary_buffer(ptrdiff_t __len, _Tp*)
headers/cpp/stl_tempbuf.h
41
if (__len > ptrdiff_t(INT_MAX / sizeof(_Tp)))
headers/cpp/stl_tempbuf.h
42
__len = INT_MAX / sizeof(_Tp);
headers/cpp/stl_tempbuf.h
45
_Tp* __tmp = (_Tp*) malloc((size_t)__len * sizeof(_Tp));
headers/cpp/stl_tempbuf.h
47
return pair<_Tp*, ptrdiff_t>(__tmp, __len);
headers/cpp/stl_tempbuf.h
51
return pair<_Tp*, ptrdiff_t>((_Tp*)0, 0);
headers/cpp/stl_tempbuf.h
56
template <class _Tp>
headers/cpp/stl_tempbuf.h
57
inline pair<_Tp*, ptrdiff_t> get_temporary_buffer(ptrdiff_t __len) {
headers/cpp/stl_tempbuf.h
58
return __get_temporary_buffer(__len, (_Tp*) 0);
headers/cpp/stl_tempbuf.h
68
template <class _Tp>
headers/cpp/stl_tempbuf.h
69
inline pair<_Tp*, ptrdiff_t> get_temporary_buffer(ptrdiff_t __len, _Tp*) {
headers/cpp/stl_tempbuf.h
70
return __get_temporary_buffer(__len, (_Tp*) 0);
headers/cpp/stl_tempbuf.h
73
template <class _Tp>
headers/cpp/stl_tempbuf.h
74
void return_temporary_buffer(_Tp* __p) {
headers/cpp/stl_tempbuf.h
78
template <class _ForwardIterator, class _Tp>
headers/cpp/stl_tempbuf.h
83
_Tp* _M_buffer;
headers/cpp/stl_tempbuf.h
89
if (_M_len > (ptrdiff_t)(INT_MAX / sizeof(_Tp)))
headers/cpp/stl_tempbuf.h
90
_M_len = INT_MAX / sizeof(_Tp);
headers/cpp/stl_tempbuf.h
93
_M_buffer = (_Tp*) malloc(_M_len * sizeof(_Tp));
headers/cpp/stl_tree.h
439
template <class _Tp, class _Alloc, bool _S_instanceless>
headers/cpp/stl_tree.h
449
typename _Alloc_traits<_Rb_tree_node<_Tp>, _Alloc>::allocator_type
headers/cpp/stl_tree.h
451
_Rb_tree_node<_Tp>* _M_header;
headers/cpp/stl_tree.h
453
_Rb_tree_node<_Tp>* _M_get_node()
headers/cpp/stl_tree.h
455
void _M_put_node(_Rb_tree_node<_Tp>* __p)
headers/cpp/stl_tree.h
460
template <class _Tp, class _Alloc>
headers/cpp/stl_tree.h
461
class _Rb_tree_alloc_base<_Tp, _Alloc, true> {
headers/cpp/stl_tree.h
469
_Rb_tree_node<_Tp>* _M_header;
headers/cpp/stl_tree.h
474
_Rb_tree_node<_Tp>* _M_get_node()
headers/cpp/stl_tree.h
476
void _M_put_node(_Rb_tree_node<_Tp>* __p)
headers/cpp/stl_tree.h
480
template <class _Tp, class _Alloc>
headers/cpp/stl_tree.h
482
: public _Rb_tree_alloc_base<_Tp, _Alloc,
headers/cpp/stl_tree.h
483
_Alloc_traits<_Tp, _Alloc>::_S_instanceless>
headers/cpp/stl_tree.h
498
template <class _Tp, class _Alloc>
headers/cpp/stl_tree.h
509
_Rb_tree_node<_Tp>* _M_header;
headers/cpp/stl_tree.h
513
_Rb_tree_node<_Tp>* _M_get_node()
headers/cpp/stl_tree.h
515
void _M_put_node(_Rb_tree_node<_Tp>* __p)
headers/cpp/stl_uninitialized.h
143
template <class _ForwardIter, class _Tp>
headers/cpp/stl_uninitialized.h
146
const _Tp& __x, __true_type)
headers/cpp/stl_uninitialized.h
151
template <class _ForwardIter, class _Tp>
headers/cpp/stl_uninitialized.h
154
const _Tp& __x, __false_type)
headers/cpp/stl_uninitialized.h
164
template <class _ForwardIter, class _Tp, class _Tp1>
headers/cpp/stl_uninitialized.h
166
_ForwardIter __last, const _Tp& __x, _Tp1*)
headers/cpp/stl_uninitialized.h
173
template <class _ForwardIter, class _Tp>
headers/cpp/stl_uninitialized.h
176
const _Tp& __x)
headers/cpp/stl_uninitialized.h
183
template <class _ForwardIter, class _Size, class _Tp>
headers/cpp/stl_uninitialized.h
186
const _Tp& __x, __true_type)
headers/cpp/stl_uninitialized.h
191
template <class _ForwardIter, class _Size, class _Tp>
headers/cpp/stl_uninitialized.h
194
const _Tp& __x, __false_type)
headers/cpp/stl_uninitialized.h
205
template <class _ForwardIter, class _Size, class _Tp, class _Tp1>
headers/cpp/stl_uninitialized.h
207
__uninitialized_fill_n(_ForwardIter __first, _Size __n, const _Tp& __x, _Tp1*)
headers/cpp/stl_uninitialized.h
213
template <class _ForwardIter, class _Size, class _Tp>
headers/cpp/stl_uninitialized.h
215
uninitialized_fill_n(_ForwardIter __first, _Size __n, const _Tp& __x)
headers/cpp/stl_uninitialized.h
244
template <class _ForwardIter, class _Tp, class _InputIter>
headers/cpp/stl_uninitialized.h
247
const _Tp& __x,
headers/cpp/stl_uninitialized.h
260
template <class _InputIter, class _ForwardIter, class _Tp>
headers/cpp/stl_uninitialized.h
264
const _Tp& __x)
headers/cpp/stl_uninitialized.h
65
template <class _InputIter, class _ForwardIter, class _Tp>
headers/cpp/stl_uninitialized.h
68
_ForwardIter __result, _Tp*)
headers/cpp/stl_uninitialized.h
70
typedef typename __type_traits<_Tp>::is_POD_type _Is_POD;
headers/cpp/stl_vector.h
100
template <class _Tp, class _Alloc>
headers/cpp/stl_vector.h
102
: public _Vector_alloc_base<_Tp, _Alloc,
headers/cpp/stl_vector.h
103
_Alloc_traits<_Tp, _Alloc>::_S_instanceless>
headers/cpp/stl_vector.h
122
template <class _Tp, class _Alloc>
headers/cpp/stl_vector.h
141
_Tp* _M_start;
headers/cpp/stl_vector.h
142
_Tp* _M_finish;
headers/cpp/stl_vector.h
143
_Tp* _M_end_of_storage;
headers/cpp/stl_vector.h
146
_Tp* _M_allocate(size_t __n)
headers/cpp/stl_vector.h
148
void _M_deallocate(_Tp* __p, size_t __n)
headers/cpp/stl_vector.h
154
template <class _Tp, class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >
headers/cpp/stl_vector.h
155
class vector : protected _Vector_base<_Tp, _Alloc>
headers/cpp/stl_vector.h
160
typedef _Tp value_type;
headers/cpp/stl_vector.h
193
void _M_insert_aux(iterator __position, const _Tp& __x);
headers/cpp/stl_vector.h
214
{ return size_type(-1) / sizeof(_Tp); }
headers/cpp/stl_vector.h
238
vector(size_type __n, const _Tp& __value,
headers/cpp/stl_vector.h
245
{ _M_finish = uninitialized_fill_n(_M_start, __n, _Tp()); }
headers/cpp/stl_vector.h
247
vector(const vector<_Tp, _Alloc>& __x)
headers/cpp/stl_vector.h
274
vector(const _Tp* __first, const _Tp* __last,
headers/cpp/stl_vector.h
282
vector<_Tp, _Alloc>& operator=(const vector<_Tp, _Alloc>& __x);
headers/cpp/stl_vector.h
300
void assign(size_type __n, const _Tp& __val);
headers/cpp/stl_vector.h
312
{ assign((size_type) __n, (_Tp) __val); }
headers/cpp/stl_vector.h
333
void push_back(const _Tp& __x) {
headers/cpp/stl_vector.h
349
void swap(vector<_Tp, _Alloc>& __x) {
headers/cpp/stl_vector.h
355
iterator insert(iterator __position, const _Tp& __x) {
headers/cpp/stl_vector.h
386
insert(__pos, (size_type) __n, (_Tp) __val);
headers/cpp/stl_vector.h
400
void insert (iterator __pos, size_type __n, const _Tp& __x);
headers/cpp/stl_vector.h
420
void resize(size_type __new_size, const _Tp& __x) {
headers/cpp/stl_vector.h
426
void resize(size_type __new_size) { resize(__new_size, _Tp()); }
headers/cpp/stl_vector.h
491
template <class _Tp, class _Alloc>
headers/cpp/stl_vector.h
493
operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
headers/cpp/stl_vector.h
499
template <class _Tp, class _Alloc>
headers/cpp/stl_vector.h
501
operator<(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
headers/cpp/stl_vector.h
509
template <class _Tp, class _Alloc>
headers/cpp/stl_vector.h
510
inline void swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y)
headers/cpp/stl_vector.h
517
template <class _Tp, class _Alloc>
headers/cpp/stl_vector.h
518
vector<_Tp,_Alloc>&
headers/cpp/stl_vector.h
519
vector<_Tp,_Alloc>::operator=(const vector<_Tp, _Alloc>& __x)
headers/cpp/stl_vector.h
52
template <class _Tp, class _Allocator, bool _IsStatic>
headers/cpp/stl_vector.h
543
template <class _Tp, class _Alloc>
headers/cpp/stl_vector.h
544
void vector<_Tp, _Alloc>::assign(size_t __n, const value_type& __val) {
headers/cpp/stl_vector.h
546
vector<_Tp, _Alloc> __tmp(__n, __val, get_allocator());
headers/cpp/stl_vector.h
559
template <class _Tp, class _Alloc> template <class _InputIter>
headers/cpp/stl_vector.h
560
void vector<_Tp, _Alloc>::_M_assign_aux(_InputIter __first, _InputIter __last,
headers/cpp/stl_vector.h
571
template <class _Tp, class _Alloc> template <class _ForwardIter>
headers/cpp/stl_vector.h
573
vector<_Tp, _Alloc>::_M_assign_aux(_ForwardIter __first, _ForwardIter __last,
headers/cpp/stl_vector.h
600
template <class _Tp, class _Alloc>
headers/cpp/stl_vector.h
602
vector<_Tp, _Alloc>::_M_insert_aux(iterator __position, const _Tp& __x)
headers/cpp/stl_vector.h
607
_Tp __x_copy = __x;
headers/cpp/stl_vector.h
632
template <class _Tp, class _Alloc>
headers/cpp/stl_vector.h
634
vector<_Tp, _Alloc>::_M_insert_aux(iterator __position)
headers/cpp/stl_vector.h
640
*__position = _Tp();
headers/cpp/stl_vector.h
65
_Tp* _M_start;
headers/cpp/stl_vector.h
66
_Tp* _M_finish;
headers/cpp/stl_vector.h
663
template <class _Tp, class _Alloc>
headers/cpp/stl_vector.h
664
void vector<_Tp, _Alloc>::insert(iterator __position, size_type __n,
headers/cpp/stl_vector.h
665
const _Tp& __x)
headers/cpp/stl_vector.h
669
_Tp __x_copy = __x;
headers/cpp/stl_vector.h
67
_Tp* _M_end_of_storage;
headers/cpp/stl_vector.h
69
_Tp* _M_allocate(size_t __n)
headers/cpp/stl_vector.h
71
void _M_deallocate(_Tp* __p, size_t __n)
headers/cpp/stl_vector.h
710
template <class _Tp, class _Alloc> template <class _InputIterator>
headers/cpp/stl_vector.h
712
vector<_Tp, _Alloc>::_M_range_insert(iterator __pos,
headers/cpp/stl_vector.h
723
template <class _Tp, class _Alloc> template <class _ForwardIterator>
headers/cpp/stl_vector.h
725
vector<_Tp, _Alloc>::_M_range_insert(iterator __position,
headers/cpp/stl_vector.h
77
template <class _Tp, class _Allocator>
headers/cpp/stl_vector.h
776
template <class _Tp, class _Alloc>
headers/cpp/stl_vector.h
778
vector<_Tp, _Alloc>::insert(iterator __position,
headers/cpp/stl_vector.h
78
class _Vector_alloc_base<_Tp, _Allocator, true> {
headers/cpp/stl_vector.h
89
_Tp* _M_start;
headers/cpp/stl_vector.h
90
_Tp* _M_finish;
headers/cpp/stl_vector.h
91
_Tp* _M_end_of_storage;
headers/cpp/stl_vector.h
94
_Tp* _M_allocate(size_t __n)
headers/cpp/stl_vector.h
96
void _M_deallocate(_Tp* __p, size_t __n)
headers/cpp/type_traits.h
236
template <class _Tp>
headers/cpp/type_traits.h
237
struct __type_traits<_Tp*> {
headers/cpp/type_traits.h
301
template <class _Tp> struct _Is_integer {
headers/cpp/type_traits.h
61
template <class _Tp>