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::MutSpan< 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::MutSpan< T >::ptr, and syten::SpanImpl::MutSpan< T >::sz.