[Bug libstdc++/80939] Various helper function templates in <variant> incorrectly marked constexpr
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 25 18:05:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80939
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Jul 25 18:04:32 2017
New Revision: 250533
URL: https://gcc.gnu.org/viewcvs?rev=250533&root=gcc&view=rev
Log:
PR libstdc++/80939 Remove unmeetable constexpr specifiers
Backport from mainline
2017-06-02 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/80939
* include/std/variant (__erased_ctor, __erased_assign, __erased_swap)
(__erased_hash): Remove constexpr specifier and qualify calls to
__ref_cast.
(__erased_dtor): Remove constexpr specifier and use _Destroy.
Modified:
branches/gcc-7-branch/libstdc++-v3/ChangeLog
branches/gcc-7-branch/libstdc++-v3/include/std/variant
More information about the Gcc-bugs
mailing list