libstdc++: Reorder constraints on std::span::span(Range&&) constructor.
authorJonathan Wakely <jwakely@redhat.com>
Mon, 1 Nov 2021 11:32:39 +0000 (11:32 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 1 Nov 2021 21:01:31 +0000 (21:01 +0000)
commit09bc98098e4ad474d2ba9da52457b29bbd08874b
tree46447fbae64e1bcc66454c2e9180ebace5b9a729
parent679652a77da60078392a834ed4b6b910127dbf24
libstdc++: Reorder constraints on std::span::span(Range&&) constructor.

In PR libstdc++/103013 Tim Song pointed out that we could reorder the
constraints of this constructor. That's worth doing just to reduce the
work the compiler has to do during overload resolution, even if it isn't
needed to make the code in the PR work.

libstdc++-v3/ChangeLog:

* include/std/span (span(Range&&)): Reorder constraints.
libstdc++-v3/include/std/span