Lines Matching refs:sv1
27 const std::experimental::basic_string_view<CharT> sv1 ( s );
28 String str1 = (String) sv1;
30 assert ( sv1.size() == str1.size ());
31 assert ( std::char_traits<CharT>::compare ( sv1.data(), str1.data(), sv1.size()) == 0 );
34 auto str2 = sv1.to_string(min_allocator<CharT>());
35 assert ( sv1.size() == str2.size ());
36 assert ( std::char_traits<CharT>::compare ( sv1.data(), str2.data(), sv1.size()) == 0 );
41 const std::experimental::basic_string_view<CharT> sv1;
42 String str1 = (String) sv1;
44 assert ( sv1.size() == 0);
45 assert ( sv1.size() == str1.size ());
48 auto str2 = sv1.to_string(min_allocator<CharT>());
49 assert ( sv1.size() == str2.size ());