Continuation of #65 .
Add C++98 compatible free functions first() etc. taking a span<T,Extent>, such as:
template< extent_t Count, class T, extent_t Extent >
span_constexpr span<T, Count>
first( span<T, Extent> spn );
template< class T, extent_t Extent >
span_constexpr span<T>
first( span<T, Extent> spn, size_t count );
Add configuration macros:
span_FEATURE_NON_MEMBER_FIRST_LAST_SUB_SPAN
span_FEATURE_NON_MEMBER_FIRST_LAST_SUB_CONTAINER
Let span_FEATURE_NON_MEMBER_FIRST_LAST_SUB=1 activate both.
Continuation of #65 .
Add C++98 compatible free functions
first()etc. taking aspan<T,Extent>, such as:Add configuration macros:
Let
span_FEATURE_NON_MEMBER_FIRST_LAST_SUB=1activate both.