[patch] libstdc++/65499 make duration literals visible in std::chrono namespace

Jonathan Wakely jwakely@redhat.com
Sat Apr 11 11:49:00 GMT 2015


On 27/03/15 12:45 +0000, Jonathan Wakely wrote:
>This is a tiny tweak to add a missing piece of C++14 support, the
>duration literals should be usable via "using namespace std::chrono".
>It doesn't affect anything in C++03 or C++11 mode so safe for trunk
>now.
>
>Tested x86_64-linux, committed to trunk.
>

>commit 907f5e128d855d339829abbd1d314f382e3ae6fc
>Author: Jonathan Wakely <jwakely@redhat.com>
>Date:   Thu Mar 26 20:12:36 2015 +0000
>
>    	PR libstdc++/65499
>    	* include/std/chrono: Add using-directive for literals to std::chrono.
>    	* testsuite/20_util/duration/literals/65499.cc: New.

Also committed to the 4.9 branch.



More information about the Libstdc++ mailing list