SyTen

◆ ConstSpan() [1/6]

template<typename T >
template<typename Container , std::enable_if_t< std::is_same_v< T, typename Container::value_type >, char > = 0>
syten::SpanImpl::ConstSpan< T >::ConstSpan ( Container const &  c)
inline

Standard ctor.

Any container-like with a value_type member typedef, a begin() member function whose return value can be converted to a pointer and a size() member function can be used. Examples include std::array, std::vector and Vec.