This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/80939] Various helper function templates in <variant> incorrectly marked constexpr
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Jun 2017 16:49:36 +0000
- Subject: [Bug libstdc++/80939] Various helper function templates in <variant> incorrectly marked constexpr
- Auto-submitted: auto-generated
- References: <bug-80939-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80939
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Jun 5 16:49:04 2017
New Revision: 248881
URL: https://gcc.gnu.org/viewcvs?rev=248881&root=gcc&view=rev
Log:
PR libstdc++/80939 Remove unmeetable constexpr specifiers
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:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/variant