Lines Matching refs:Count
26 template <typename Span, std::size_t Count>
29 LIBCPP_ASSERT((noexcept(sp.template first<Count>()))); in testConstexprSpan()
30 LIBCPP_ASSERT((noexcept(sp.first(Count)))); in testConstexprSpan()
31 auto s1 = sp.template first<Count>(); in testConstexprSpan()
32 auto s2 = sp.first(Count); in testConstexprSpan()
37 static_assert(S1::extent == Count, ""); in testConstexprSpan()
46 template <typename Span, std::size_t Count>
49 LIBCPP_ASSERT((noexcept(sp.template first<Count>()))); in testRuntimeSpan()
50 LIBCPP_ASSERT((noexcept(sp.first(Count)))); in testRuntimeSpan()
51 auto s1 = sp.template first<Count>(); in testRuntimeSpan()
52 auto s2 = sp.first(Count); in testRuntimeSpan()
57 static_assert(S1::extent == Count, ""); in testRuntimeSpan()