Lines Matching refs:string_view

61     std::string_view sv = nc;  in test()
63 static_assert(!std::is_constructible_v<std::string_view, in test()
93 static_assert(std::is_constructible_v<std::string_view, DeletedConversionOperator>); in test()
94 static_assert(std::is_constructible_v<std::string_view, const DeletedConversionOperator>); in test()
95 static_assert(std::is_constructible_v<std::string_view, DeletedConstConversionOperator>); in test()
96 static_assert(std::is_constructible_v<std::string_view, const DeletedConstConversionOperator>); in test()
114 static_assert(std::is_constructible_v<std::string_view, std::vector<char>&>);
115 static_assert(std::is_constructible_v<std::string_view, const std::vector<char>&>);
116 static_assert(std::is_constructible_v<std::string_view, std::vector<char>&&>);
117 static_assert(std::is_constructible_v<std::string_view, const std::vector<char>&&>);
122 static_assert(!std::is_constructible_v<std::string_view, SizedButNotContiguousRange>);
127 static_assert(!std::is_constructible_v<std::string_view, ContiguousButNotSizedRange>);
129 static_assert(!std::is_constructible_v<std::string_view, std::vector<char16_t>>); // different CharT
134 operator std::string_view() const { return {}; } in operator std::string_view()
137 static_assert(std::is_constructible_v<std::string_view, WithStringViewConversionOperator>); // lval…
138 static_assert(std::is_constructible_v<std::string_view, const WithStringViewConversionOperator&>); …
139 static_assert(std::is_constructible_v<std::string_view, WithStringViewConversionOperator&&>); // rv…
149 static_assert(std::is_constructible_v<std::string_view, WithTraitsType<std::char_traits<char>>>);
154 static_assert(!std::is_constructible_v<std::string_view, WithTraitsType<CCT>>); // wrong traits ty…
168 (void) std::string_view(x); in test_throwing()
181 (void) std::string_view(x); in test_throwing()