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

Lines Matching refs:sm

24         typedef std::sub_match<const CharT*> SM;
25 typedef SM::string_type string;
26 SM sm = SM();
27 assert(sm.compare(string()) == 0);
29 sm.first = s;
30 sm.second = s + 3;
31 sm.matched = true;
32 assert(sm.compare(string()) > 0);
33 assert(sm.compare(string("123")) == 0);
37 typedef std::sub_match<const CharT*> SM;
38 typedef SM::string_type string;
39 SM sm = SM();
40 assert(sm.compare(string()) == 0);
42 sm.first = s;
43 sm.second = s + 3;
44 sm.matched = true;
45 assert(sm.compare(string()) > 0);
46 assert(sm.compare(string(L"123")) == 0);