Support constructing span<T> from span<const T>
This commit is contained in:
parent
33488e67ca
commit
b9ed814cfe
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ namespace psemek::util
|
||||||
{}
|
{}
|
||||||
|
|
||||||
template <typename Container>
|
template <typename Container>
|
||||||
span(Container & a)
|
span(Container && a)
|
||||||
: p_begin{a.data()}
|
: p_begin{a.data()}
|
||||||
, p_end{a.data() + a.size()}
|
, p_end{a.data() + a.size()}
|
||||||
{}
|
{}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue