Lines Matching refs:allocator
35 template <typename AllocT = std::allocator<nasty_char>>
48 …ypename CharT, typename TraitsT = std::char_traits<CharT>, typename AllocT = std::allocator<CharT>>
88 …ypename CharT, typename TraitsT = std::char_traits<CharT>, typename AllocT = std::allocator<CharT>>
92 const AllocT allocator; in test() local
96 StrStream ss(CS("zmt"), allocator); in test()
98 assert(ss.rdbuf()->get_allocator() == allocator); in test()
103 StrStream ss(csv, allocator); in test()
105 assert(ss.rdbuf()->get_allocator() == allocator); in test()
109 const std::basic_string<CharT, TraitsT, AllocT> cs = ST("zmt", allocator); in test()
110 StrStream ss(cs, allocator); in test()
112 assert(ss.rdbuf()->get_allocator() == allocator); in test()
117 StrStream ss(sv, allocator); in test()
119 assert(ss.rdbuf()->get_allocator() == allocator); in test()
127 test_sfinae<char, constexpr_char_traits<char>, std::allocator<char>>(); in main()
131 test<char, constexpr_char_traits<char>, std::allocator<char>>(); in main()
136 test_sfinae<wchar_t, constexpr_char_traits<wchar_t>, std::allocator<wchar_t>>(); in main()
140 test<wchar_t, constexpr_char_traits<wchar_t>, std::allocator<wchar_t>>(); in main()