Lines Matching refs:Count
27 template <typename Span, size_t Count>
30 LIBCPP_ASSERT((noexcept(sp.template first<Count>()))); in testConstexprSpan()
31 LIBCPP_ASSERT((noexcept(sp.first(Count)))); in testConstexprSpan()
32 auto s1 = sp.template first<Count>(); in testConstexprSpan()
33 auto s2 = sp.first(Count); in testConstexprSpan()
38 static_assert(S1::extent == Count, ""); in testConstexprSpan()
47 template <typename Span, size_t Count>
50 LIBCPP_ASSERT((noexcept(sp.template first<Count>()))); in testRuntimeSpan()
51 LIBCPP_ASSERT((noexcept(sp.first(Count)))); in testRuntimeSpan()
52 auto s1 = sp.template first<Count>(); in testRuntimeSpan()
53 auto s2 = sp.first(Count); in testRuntimeSpan()
58 static_assert(S1::extent == Count, ""); in testRuntimeSpan()