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

redi@gcc.gnu.org redi@gcc.gnu.org
Mon Jun 18 18:02:00 GMT 2018


Author: redi
Date: Mon Jun 18 18:02:24 2018
New Revision: 261708

URL: https://gcc.gnu.org/viewcvs?rev=261708&root=gcc&view=rev
Log:
LWG 3050 Fix cv-qualification of convertibility constraints

	LWG 3050 Fix cv-qualification of convertibility constraints
	* include/std/chrono (duration, operator*, operator/, operator%): Use
	const-qualified type as source type in is_convertible constraints.
	* testsuite/20_util/duration/arithmetic/dr3050.cc: New.
	* testsuite/20_util/duration/cons/dr3050.cc: New.
	* testsuite/20_util/duration/literals/range.cc: Rename to...
	* testsuite/20_util/duration/literals/range_neg.cc: Here. Adjust
	dg-error lineno.

Added:
    trunk/libstdc++-v3/testsuite/20_util/duration/cons/dr3050.cc
      - copied, changed from r261707, trunk/libstdc++-v3/testsuite/20_util/duration/literals/range.cc
    trunk/libstdc++-v3/testsuite/20_util/duration/literals/range_neg.cc
      - copied, changed from r261707, trunk/libstdc++-v3/testsuite/20_util/duration/literals/range.cc
Removed:
    trunk/libstdc++-v3/testsuite/20_util/duration/literals/range.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/chrono



More information about the Libstdc++-cvs mailing list