Searched refs:BorrowedContiguousSizedRange (Results 1 – 1 of 1) sorted by relevance
| /llvm-project-15.0.7/libcxx/test/std/containers/views/views.span/span.cons/ |
| H A D | range.pass.cpp | 65 using BorrowedContiguousSizedRange = std::string_view; typedef 66 static_assert(std::is_constructible_v<std::span<const char>, BorrowedContiguousSizedRange>); 67 static_assert(std::is_constructible_v<std::span<const char, 3>, BorrowedContiguousSizedRange>); 68 static_assert(!std::is_constructible_v<std::span<char>, BorrowedContiguousSizedRange>); 69 static_assert(!std::is_constructible_v<std::span<char, 3>, BorrowedContiguousSizedRange>); 71 static_assert(std::is_convertible_v<BorrowedContiguousSizedRange&, std::span<const char>>); 72 static_assert(!std::is_convertible_v<BorrowedContiguousSizedRange&, std::span<const char, 3>>); 73 static_assert(!std::is_convertible_v<BorrowedContiguousSizedRange&, std::span<char>>); 74 static_assert(!std::is_convertible_v<BorrowedContiguousSizedRange&, std::span<char, 3>>); 75 static_assert(std::is_convertible_v<const BorrowedContiguousSizedRange&, std::span<const char>>); [all …]
|