<div dir="ltr"><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1394r3.pdf">
P1394R3 :
Range constructor for std::span <br>http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1394r3.pdf</a> <br><br>"
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."<br><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 29, 2019 at 5:05 PM Zach Laine <<a href="mailto:whatwasthataddress@gmail.com">whatwasthataddress@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Thu, Aug 29, 2019 at 3:58 PM Steve Downey <<a href="mailto:sdowney@gmail.com" target="_blank">sdowney@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">It's not out of the question that span may acquire contiguous_range constructors for 20.</div></blockquote><div><br></div><div>I don't understand this. There is already a constructor that does this:</div><div><br></div><div><a href="http://eel.is/c++draft/views.span#span.cons-itemdecl:5" target="_blank">http://eel.is/c++draft/views.span#span.cons-itemdecl:5</a><br></div><div><br></div><div>The constraints are all met by a contiguous_range.</div><div><br></div><div>Zach</div></div></div>
_______________________________________________<br>
SG16 Unicode mailing list<br>
<a href="mailto:Unicode@isocpp.open-std.org" target="_blank">Unicode@isocpp.open-std.org</a><br>
<a href="http://www.open-std.org/mailman/listinfo/unicode" rel="noreferrer" target="_blank">http://www.open-std.org/mailman/listinfo/unicode</a><br>
</blockquote></div>