Lines Matching refs:ss
34 std::stringstream ss;
35 bool skippingws = is_skipws ( &ss );
36 ss << q;
37 ss >> q;
41 std::stringstream ss;
42 bool skippingws = is_skipws ( &ss );
43 ss << std::quoted(p);
45 ss >> std::quoted(s);
47 assert ( skippingws == is_skipws ( &ss ));
51 std::stringstream ss;
52 std::noskipws ( ss );
53 bool skippingws = is_skipws ( &ss );
54 ss << std::quoted(p);
56 ss >> std::quoted(s);
58 assert ( skippingws == is_skipws ( &ss ));
62 std::stringstream ss;
63 ss << std::quoted(p, delim);
65 ss >> std::quoted(s, delim);
70 std::stringstream ss;
71 ss << std::quoted(p, '"', escape );
73 ss >> std::quoted(s, '"', escape );
80 std::stringstream ss;
81 ss << std::quoted(p, delim, escape);
83 ss >> s; // no quote
88 std::stringstream ss;
89 ss << p;
91 ss >> std::quoted(s, delim, escape);
97 std::stringstream ss;
98 ss << std::left << std::setw(10) << std::setfill('!') << std::quoted("abc", '`');
99 assert ( ss.str() == "`abc`!!!!!" );
103 std::stringstream ss;
104 ss << std::right << std::setw(10) << std::setfill('!') << std::quoted("abc", '`');
105 assert ( ss.str() == "!!!!!`abc`" );
111 std::wstringstream ss;
112 bool skippingws = is_skipws ( &ss );
113 ss << std::quoted(p);
115 ss >> std::quoted(s);
117 assert ( skippingws == is_skipws ( &ss ));
122 std::wstringstream ss;
123 std::noskipws ( ss );
124 bool skippingws = is_skipws ( &ss );
125 ss << std::quoted(p);
127 ss >> std::quoted(s);
129 assert ( skippingws == is_skipws ( &ss ));
133 std::wstringstream ss;
134 ss << std::quoted(p, delim);
136 ss >> std::quoted(s, delim);
141 std::wstringstream ss;
142 ss << std::quoted(p, wchar_t('"'), escape );
144 ss >> std::quoted(s, wchar_t('"'), escape );
150 std::wstringstream ss;
151 ss << std::quoted(p, delim, escape);
153 ss >> s; // no quote
158 std::wstringstream ss;
159 ss << p;
161 ss >> std::quoted(s, delim, escape);