SyTen

◆ operator Container()

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

Conversion operator to the specified container.

This copies the elements of the range to the target container.

References syten::SpanImpl::ConstSpan< T >::ptr, and syten::SpanImpl::ConstSpan< T >::sz.