Lines Matching refs:span

29   std::span<T, Extent> s{val};  in test_from_range()
44 static_assert(!std::is_constructible_v<std::span<int>, std::vector<float>&>); // wrong type
45 static_assert(!std::is_constructible_v<std::span<int, 3>, std::vector<float>&>); // wrong type
47 static_assert(std::is_constructible_v<std::span<int>, std::vector<int>&>); // non-bo…
48 static_assert(std::is_constructible_v<std::span<int, 3>, std::vector<int>&>); // non-bo…
49 static_assert(std::is_constructible_v<std::span<const int>, std::vector<int>&>); // non-bo…
50 static_assert(std::is_constructible_v<std::span<const int, 3>, std::vector<int>&>); // non-bo…
51 static_assert(!std::is_constructible_v<std::span<int>, const std::vector<int>&>); // non-bo…
52 static_assert(!std::is_constructible_v<std::span<int, 3>, const std::vector<int>&>); // non-bo…
53 static_assert(std::is_constructible_v<std::span<const int>, const std::vector<int>&>); // non-bo…
54 static_assert(std::is_constructible_v<std::span<const int, 3>, const std::vector<int>&>); // non-bo…
55 static_assert(std::is_constructible_v<std::span<const int>, std::vector<int>>); // non-bo…
56 static_assert(std::is_constructible_v<std::span<const int, 3>, std::vector<int>>); // non-bo…
57 static_assert(!std::is_constructible_v<std::span<int>, std::vector<int>&&>); // non-bo…
58 static_assert(!std::is_constructible_v<std::span<int, 3>, std::vector<int>&&>); // non-bo…
60 static_assert(std::is_constructible_v<std::span<int>, std::ranges::subrange<contiguous_iterator<int…
61 static_assert(std::is_constructible_v<std::span<int, 3>, std::ranges::subrange<contiguous_iterator<…
62 static_assert(!std::is_constructible_v<std::span<int>, std::ranges::subrange<random_access_iterator…
63 static_assert(!std::is_constructible_v<std::span<int, 3>, std::ranges::subrange<random_access_itera…
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>>);
76 static_assert(!std::is_convertible_v<const BorrowedContiguousSizedRange&, std::span<const char, 3>>…