r262394 - in /branches/gcc-8-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Jul 4 11:46:00 GMT 2018


Author: redi
Date: Wed Jul  4 11:46:49 2018
New Revision: 262394

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

Backport from mainline
2018-06-18  Jonathan Wakely  <jwakely@redhat.com>

	* 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:
    branches/gcc-8-branch/libstdc++-v3/testsuite/20_util/duration/cons/dr3050.cc
      - copied, changed from r262393, branches/gcc-8-branch/libstdc++-v3/testsuite/20_util/duration/literals/range.cc
    branches/gcc-8-branch/libstdc++-v3/testsuite/20_util/duration/literals/range_neg.cc
      - copied, changed from r262393, branches/gcc-8-branch/libstdc++-v3/testsuite/20_util/duration/literals/range.cc
Removed:
    branches/gcc-8-branch/libstdc++-v3/testsuite/20_util/duration/literals/range.cc
Modified:
    branches/gcc-8-branch/libstdc++-v3/ChangeLog
    branches/gcc-8-branch/libstdc++-v3/include/std/chrono



More information about the Libstdc++-cvs mailing list