29 using std::wstring_view;
31 const wchar_t lit_01[] = {
L'w',
L'e',
L'\0',
L'r',
L'd' };
32 const wchar_t lit_02[] = {
L'w',
L'e',
L'i',
L'\0',
L'd' };
34 const wchar_t lit_ref_a[] = {
L'w',
L'e',
L'\0',
L'q',
L'd' };
35 const wstring_view str_a(lit_ref_a, 5);
36 VERIFY( str_a.compare(0, 5, lit_01, 5) < 0 );
38 const wchar_t lit_ref_b[] = {
L'w',
L'e',
L'i' };
39 const wstring_view str_b(lit_ref_b, 3);
40 VERIFY( str_b.compare(0, 3, lit_02, 5) < 0 );