This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] libstdc++/65499 make duration literals visible in std::chrono namespace
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sat, 11 Apr 2015 12:49:50 +0100
- Subject: Re: [patch] libstdc++/65499 make duration literals visible in std::chrono namespace
- Authentication-results: sourceware.org; auth=none
- References: <20150327124519 dot GO9755 at redhat dot com>
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.