Lines Matching defs:sm
33 typedef std::sub_match<char*> SM;
34 static_assert((std::is_same<SM::iterator, char*>::value), "");
35 static_assert((std::is_same<SM::value_type, char>::value), "");
36 static_assert((std::is_same<SM::difference_type, std::ptrdiff_t>::value), "");
37 static_assert((std::is_same<SM::string_type, std::string>::value), "");
38 static_assert((std::is_convertible<SM*, std::pair<char*, char*>*>::value), "");
40 SM sm;
41 sm.first = nullptr;
42 sm.second = nullptr;
43 sm.matched = false;
46 typedef std::sub_match<wchar_t*> SM;
47 static_assert((std::is_same<SM::iterator, wchar_t*>::value), "");
48 static_assert((std::is_same<SM::value_type, wchar_t>::value), "");
49 static_assert((std::is_same<SM::difference_type, std::ptrdiff_t>::value), "");
50 static_assert((std::is_same<SM::string_type, std::wstring>::value), "");
51 static_assert((std::is_convertible<SM*, std::pair<wchar_t*, wchar_t*>*>::value), "");
53 SM sm;
54 sm.first = nullptr;
55 sm.second = nullptr;
56 sm.matched = false;