[Bug libstdc++/103013] Underconstrained constructor span(_Range&&)
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 1 23:51:14 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103013
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:
https://gcc.gnu.org/g:09bc98098e4ad474d2ba9da52457b29bbd08874b
commit r12-4833-g09bc98098e4ad474d2ba9da52457b29bbd08874b
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Mon Nov 1 11:32:39 2021 +0000
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.
More information about the Gcc-bugs
mailing list