According to cppreference, in C++20, std::span
is supposed to be constructible using container references:
template <class Container>
constexpr span(Container& cont);
template <class Container>
constexpr span(const Container& cont);
but in the master branch of libstdc++'s span file (as of Jan 18th 2020), I don't see these constructors. I do see a constructor taking a Range&&
- is that a sufficient replacement? Or - am I missing something?