Home | History | Annotate | Download | only in re.submatch.op

Lines Matching defs:string

224     typedef std::basic_string<CharT> string;
225 typedef std::sub_match<typename string::const_iterator> sub_match;
266 assert((x[0] == sm2) == (string(1, x[0]) == y));
267 assert((x[0] != sm2) == (string(1, x[0]) != y));
268 assert((x[0] < sm2) == (string(1, x[0]) < y));
269 assert((x[0] > sm2) == (string(1, x[0]) > y));
270 assert((x[0] <= sm2) == (string(1, x[0]) <= y));
271 assert((x[0] >= sm2) == (string(1, x[0]) >= y));
272 assert((sm1 == y[0]) == (x == string(1, y[0])));
273 assert((sm1 != y[0]) == (x != string(1, y[0])));
274 assert((sm1 < y[0]) == (x < string(1, y[0])));
275 assert((sm1 > y[0]) == (x > string(1, y[0])));
276 assert((sm1 <= y[0]) == (x <= string(1, y[0])));
277 assert((sm1 >= y[0]) == (x >= string(1, y[0])));
282 test(std::string("123"), std::string("123"));
283 test(std::string("1234"), std::string("123"));
286 test(std::string("123\000" "56", 6), std::string("123\000" "56", 6), false);