Classes | |
struct | enabler |
Functions | |
template<typename T > | |
span_constexpr bool | is_positive (T x) |
span_noreturn void | report_contract_violation (char const *) span_noexcept |
span_constexpr bool nonstd::span_lite::detail::is_positive | ( | T | x | ) |
Definition at line 714 of file span-lite.hpp.
References report_contract_violation(), nonstd::span_lite::size(), span_noreturn, and span_REQUIRES_T.
Referenced by nonstd::span_lite::span< T, Extent >::first(), nonstd::span_lite::span< T, Extent >::last(), nonstd::span_lite::span< T, Extent >::operator[](), nonstd::span_lite::span< T, Extent >::span(), nonstd::span_lite::span< T, Extent >::span_REQUIRES_0(), and nonstd::span_lite::span< T, Extent >::subspan().
|
inline |
Definition at line 857 of file span-lite.hpp.
Referenced by is_positive().