This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/80939] Various helper function templates in <variant> incorrectly marked constexpr


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]