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

redi@gcc.gnu.org redi@gcc.gnu.org
Sun Feb 19 16:04:00 GMT 2017


Author: redi
Date: Sun Feb 19 16:04:35 2017
New Revision: 245575

URL: https://gcc.gnu.org/viewcvs?rev=245575&root=gcc&view=rev
Log:
C++17 GB50 resolution (P0505R0)

2017-02-19  Dinka Ranns  <dinka.ranns@googlemail.com>

	C++17 GB50 resolution
	* include/std/chrono (duration::operator++()): Add
	_GLIBCXX17_CONSTEXPR.
	(duration::operator++(int)): Likewise.
	(duration::operator--()): Likewise.
	(duration::operator--(int)): Likewise.
	(duration::operator+=(const duration&)): Likewise.
	(duration::operator-=(const duration&)): Likewise.
	(duration::operator*=(const rep&)): Likewise.
	(duration::operator/=(const rep&)): Likewise.
	(duration::operator%=(const rep&)): Likewise.
	(duration::operator%=(const duration&)): Likewise.
	(time_point::operator+=(const duration&)): Likewise.
	(time_point::operator-=(const duration&)): Likewise.
	* testsuite/20_util/duration/arithmetic/constexpr_c++17.cc: New test.
	* testsuite/20_util/duration/literals/range.cc: Adjust dg-error.
	* testsuite/20_util/time_point/arithmetic/constexpr.cc: New test.

Added:
    trunk/libstdc++-v3/testsuite/20_util/duration/arithmetic/constexpr_c++17.cc
      - copied, changed from r245574, trunk/libstdc++-v3/testsuite/20_util/duration/literals/range.cc
    trunk/libstdc++-v3/testsuite/20_util/time_point/arithmetic/
    trunk/libstdc++-v3/testsuite/20_util/time_point/arithmetic/constexpr.cc
      - copied, changed from r245574, trunk/libstdc++-v3/testsuite/20_util/duration/literals/range.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/chrono
    trunk/libstdc++-v3/testsuite/20_util/duration/literals/range.cc



More information about the Libstdc++-cvs mailing list