This is the mail archive of the gcc-cvs@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]

r240623 - in /trunk/libstdc++-v3: ChangeLog inc...


Author: ville
Date: Thu Sep 29 15:20:28 2016
New Revision: 240623

URL: https://gcc.gnu.org/viewcvs?rev=240623&root=gcc&view=rev
Log:
    Make optional::reset noexcept, make optional::value
    work in constant expressions.
    * include/std/optional (_M_get): Make constexpr.
    (reset): Make noexcept.
    * testsuite/20_util/optional/assignment/7.cc: New.
    * testsuite/20_util/optional/observers/6.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/20_util/optional/assignment/7.cc
    trunk/libstdc++-v3/testsuite/20_util/optional/observers/6.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/optional


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