32 static_assert(std::is_constructible_v<span<int>, int(&)[1]>);
33 static_assert(std::is_constructible_v<span<const int>, int(&)[1]>);
34 static_assert(std::is_constructible_v<span<const int>,
const int(&)[1]>);
35 static_assert(std::is_constructible_v<span<int, 1>, int(&)[1]>);
36 static_assert(std::is_constructible_v<span<const int, 1>, int(&)[1]>);
37 static_assert(std::is_constructible_v<span<const int, 1>,
const int(&)[1]>);
38 static_assert(!std::is_constructible_v<span<int>, long(&)[1]>);
39 static_assert(!std::is_constructible_v<span<int, 1>, int(&)[2]>);
40 static_assert(!std::is_constructible_v<span<int>,
const int(&)[1]>);
41 static_assert(!std::is_constructible_v<span<int, 1>,
const int(&)[1]>);
49 static_assert(std::is_constructible_v<span<int>, std::array<int, 1>&>);
50 static_assert(std::is_constructible_v<span<const int>, std::array<int, 1>&>);
51 static_assert(std::is_constructible_v<span<const int>,
const std::array<int, 1>&>);
52 static_assert(std::is_constructible_v<span<int, 1>, std::array<int, 1>&>);
53 static_assert(std::is_constructible_v<span<const int, 1>, std::array<int, 1>&>);
54 static_assert(std::is_constructible_v<span<const int, 1>,
const std::array<int, 1>&>);
55 static_assert(!std::is_constructible_v<span<int>, std::array<long, 1>&>);
56 static_assert(!std::is_constructible_v<span<int, 1>, std::array<int, 2>&>);
57 static_assert(!std::is_constructible_v<span<int>,
const std::array<int, 1>&>);
58 static_assert(!std::is_constructible_v<span<int, 1>,
const std::array<int, 1>&>);
59 std::array<int, 1> a1;