This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]