[PATCH] LWG 3050 Fix cv-qualification of convertibility constraints

Jonathan Wakely jwakely@redhat.com
Wed Jun 20 15:56:00 GMT 2018


On 18/06/18 19:00 +0100, Jonathan Wakely wrote:
>This issue hasn't been voted into the working draft yet, but it's been
>approved by LWG and is obviously correct.
>
>	* 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.

I forgot to 'git add' this new test. Here it is.

Tested x86_64-linux, committed to trunk.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 1680 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20180620/18663201/attachment.bin>


More information about the Libstdc++ mailing list