P1394R3  : Range constructor for std::span 
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1394r3.pdf
  

" std::span is specified to be constructible from Container types. However, while defined, Container is not a concept and as such ContiguousRange is more expressive. Furthermore, there exist some non-container ranges that would otherwise be valid ranges to construct span from."


On Thu, Aug 29, 2019 at 5:05 PM Zach Laine <whatwasthataddress@gmail.com> wrote:
On Thu, Aug 29, 2019 at 3:58 PM Steve Downey <sdowney@gmail.com> wrote:
It's not out of the question that span may acquire contiguous_range constructors for 20.

I don't understand this.  There is already a constructor that does this:

http://eel.is/c++draft/views.span#span.cons-itemdecl:5

The constraints are all met by a contiguous_range.

Zach
_______________________________________________
SG16 Unicode mailing list
Unicode@isocpp.open-std.org
http://www.open-std.org/mailman/listinfo/unicode