Lines Matching refs:_Alloc

110   template<typename _CharT, typename _Traits, typename _Alloc>
113 typedef typename _Alloc::template rebind<_CharT>::other _CharT_alloc_type;
119 typedef _Alloc allocator_type;
157 typedef typename _Alloc::template rebind<char>::other _Raw_bytes_alloc;
220 _M_grab(const _Alloc& __alloc1, const _Alloc& __alloc2)
228 _S_create(size_type, size_type, const _Alloc&);
231 _M_dispose(const _Alloc& __a)
242 _M_destroy(const _Alloc&) throw();
255 _M_clone(const _Alloc&, size_type __res = 0);
259 struct _Alloc_hider : _Alloc
261 _Alloc_hider(_CharT* __dat, const _Alloc& __a)
262 : _Alloc(__a), _M_p(__dat) { }
418 basic_string(const _Alloc& __a);
442 size_type __n, const _Alloc& __a);
454 const _Alloc& __a = _Alloc());
460 basic_string(const _CharT* __s, const _Alloc& __a = _Alloc());
467 basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc());
477 const _Alloc& __a = _Alloc());
1451 const _Alloc& __a, __false_type)
1460 const _Alloc& __a, __true_type)
1466 _S_construct(_InIterator __beg, _InIterator __end, const _Alloc& __a)
1475 _S_construct(_InIterator __beg, _InIterator __end, const _Alloc& __a,
1482 _S_construct(_FwdIterator __beg, _FwdIterator __end, const _Alloc& __a,
1486 _S_construct(size_type __req, _CharT __c, const _Alloc& __a);
2053 template<typename _CharT, typename _Traits, typename _Alloc>
2054 inline basic_string<_CharT, _Traits, _Alloc>::
2057 : _M_dataplus(_S_empty_rep()._M_refdata(), _Alloc()) { }
2059 : _M_dataplus(_S_construct(size_type(), _CharT(), _Alloc()), _Alloc()) { }
2069 template<typename _CharT, typename _Traits, typename _Alloc>
2070 basic_string<_CharT, _Traits, _Alloc>
2071 operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
2072 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
2074 basic_string<_CharT, _Traits, _Alloc> __str(__lhs);
2085 template<typename _CharT, typename _Traits, typename _Alloc>
2086 basic_string<_CharT,_Traits,_Alloc>
2088 const basic_string<_CharT,_Traits,_Alloc>& __rhs);
2096 template<typename _CharT, typename _Traits, typename _Alloc>
2097 basic_string<_CharT,_Traits,_Alloc>
2098 operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Alloc>& __rhs);
2106 template<typename _CharT, typename _Traits, typename _Alloc>
2107 inline basic_string<_CharT, _Traits, _Alloc>
2108 operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
2111 basic_string<_CharT, _Traits, _Alloc> __str(__lhs);
2122 template<typename _CharT, typename _Traits, typename _Alloc>
2123 inline basic_string<_CharT, _Traits, _Alloc>
2124 operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs)
2126 typedef basic_string<_CharT, _Traits, _Alloc> __string_type;
2140 template<typename _CharT, typename _Traits, typename _Alloc>
2142 operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
2143 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
2152 template<typename _CharT, typename _Traits, typename _Alloc>
2155 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
2164 template<typename _CharT, typename _Traits, typename _Alloc>
2166 operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
2177 template<typename _CharT, typename _Traits, typename _Alloc>
2179 operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
2180 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
2189 template<typename _CharT, typename _Traits, typename _Alloc>
2192 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
2201 template<typename _CharT, typename _Traits, typename _Alloc>
2203 operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
2214 template<typename _CharT, typename _Traits, typename _Alloc>
2216 operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
2217 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
2226 template<typename _CharT, typename _Traits, typename _Alloc>
2228 operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
2238 template<typename _CharT, typename _Traits, typename _Alloc>
2241 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
2251 template<typename _CharT, typename _Traits, typename _Alloc>
2253 operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
2254 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
2263 template<typename _CharT, typename _Traits, typename _Alloc>
2265 operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
2275 template<typename _CharT, typename _Traits, typename _Alloc>
2278 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
2288 template<typename _CharT, typename _Traits, typename _Alloc>
2290 operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
2291 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
2300 template<typename _CharT, typename _Traits, typename _Alloc>
2302 operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
2312 template<typename _CharT, typename _Traits, typename _Alloc>
2315 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
2325 template<typename _CharT, typename _Traits, typename _Alloc>
2327 operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
2328 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
2337 template<typename _CharT, typename _Traits, typename _Alloc>
2339 operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
2349 template<typename _CharT, typename _Traits, typename _Alloc>
2352 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
2362 template<typename _CharT, typename _Traits, typename _Alloc>
2364 swap(basic_string<_CharT, _Traits, _Alloc>& __lhs,
2365 basic_string<_CharT, _Traits, _Alloc>& __rhs)
2379 template<typename _CharT, typename _Traits, typename _Alloc>
2382 basic_string<_CharT, _Traits, _Alloc>& __str);
2397 template<typename _CharT, typename _Traits, typename _Alloc>
2400 const basic_string<_CharT, _Traits, _Alloc>& __str)
2420 template<typename _CharT, typename _Traits, typename _Alloc>
2423 basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim);
2437 template<typename _CharT, typename _Traits, typename _Alloc>
2440 basic_string<_CharT, _Traits, _Alloc>& __str)