Support constructing span<T> from span<const T>

This commit is contained in:
Nikita Lisitsa 2023-07-06 22:25:55 +03:00
parent 33488e67ca
commit b9ed814cfe

View file

@ -47,7 +47,7 @@ namespace psemek::util
{}
template <typename Container>
span(Container & a)
span(Container && a)
: p_begin{a.data()}
, p_end{a.data() + a.size()}
{}