Lines Matching refs:empty
30 static_assert( noexcept(std::span<int> ().empty()), ""); in main()
31 static_assert( noexcept(std::span<int, 0>().empty()), ""); in main()
34 static_assert( std::span<int>().empty(), ""); in main()
35 static_assert( std::span<long>().empty(), ""); in main()
36 static_assert( std::span<double>().empty(), ""); in main()
37 static_assert( std::span<A>().empty(), ""); in main()
38 static_assert( std::span<std::string>().empty(), ""); in main()
40 static_assert( std::span<int, 0>().empty(), ""); in main()
41 static_assert( std::span<long, 0>().empty(), ""); in main()
42 static_assert( std::span<double, 0>().empty(), ""); in main()
43 static_assert( std::span<A, 0>().empty(), ""); in main()
44 static_assert( std::span<std::string, 0>().empty(), ""); in main()
46 static_assert(!std::span<const int>(iArr1, 1).empty(), ""); in main()
47 static_assert(!std::span<const int>(iArr1, 2).empty(), ""); in main()
48 static_assert(!std::span<const int>(iArr1, 3).empty(), ""); in main()
49 static_assert(!std::span<const int>(iArr1, 4).empty(), ""); in main()
50 static_assert(!std::span<const int>(iArr1, 5).empty(), ""); in main()
52 assert( (std::span<int>().empty() )); in main()
53 assert( (std::span<long>().empty() )); in main()
54 assert( (std::span<double>().empty() )); in main()
55 assert( (std::span<A>().empty() )); in main()
56 assert( (std::span<std::string>().empty() )); in main()
58 assert( (std::span<int, 0>().empty() )); in main()
59 assert( (std::span<long, 0>().empty() )); in main()
60 assert( (std::span<double, 0>().empty() )); in main()
61 assert( (std::span<A, 0>().empty() )); in main()
62 assert( (std::span<std::string, 0>().empty())); in main()
64 assert(!(std::span<int, 1>(iArr2, 1).empty())); in main()
65 assert(!(std::span<int, 2>(iArr2, 2).empty())); in main()
66 assert(!(std::span<int, 3>(iArr2, 3).empty())); in main()
67 assert(!(std::span<int, 4>(iArr2, 4).empty())); in main()
68 assert(!(std::span<int, 5>(iArr2, 5).empty())); in main()
71 assert( ((std::span<std::string>(&s, (std::ptrdiff_t) 0)).empty())); in main()
72 assert(!((std::span<std::string>(&s, 1).empty()))); in main()