summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/std/chrono
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-09 22:45:20 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-09 22:45:20 +0000
commitf1ff5c181e55823e1ef2fa94348dcf528d0158d6 (patch)
tree31a512bf1cfc78996356a5914367dcb49c36242f /libstdc++-v3/include/std/chrono
parent156093aafb1e685f0d09b2d2a70a1d0f910a0da6 (diff)
downloadppe42-gcc-f1ff5c181e55823e1ef2fa94348dcf528d0158d6.tar.gz
ppe42-gcc-f1ff5c181e55823e1ef2fa94348dcf528d0158d6.zip
* acinclude.m4: Update references to final C++11 standard.
* include/bits/shared_ptr.h: Likewise. * include/bits/shared_ptr_base.h: Likewise. * include/bits/unique_ptr.h: Likewise. * include/std/chrono: Likewise. * include/std/thread: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190271 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std/chrono')
-rw-r--r--libstdc++-v3/include/std/chrono16
1 files changed, 8 insertions, 8 deletions
diff --git a/libstdc++-v3/include/std/chrono b/libstdc++-v3/include/std/chrono
index 9ff8846587b..33bed03dae0 100644
--- a/libstdc++-v3/include/std/chrono
+++ b/libstdc++-v3/include/std/chrono
@@ -1,6 +1,6 @@
// <chrono> -*- C++ -*-
-// Copyright (C) 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+// Copyright (C) 2008-2012 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -53,7 +53,7 @@ namespace std _GLIBCXX_VISIBILITY(default)
*/
/** @namespace std::chrono
- * @brief ISO C++ 0x entities sub namespace for time and date.
+ * @brief ISO C++ 2011 entities sub-namespace for time and date.
*/
namespace chrono
{
@@ -69,7 +69,7 @@ namespace std _GLIBCXX_VISIBILITY(default)
}
_GLIBCXX_BEGIN_NAMESPACE_VERSION
- // 20.8.2.3 specialization of common_type (for duration)
+ // 20.11.4.3 specialization of common_type (for duration)
template<typename _Rep1, typename _Period1, typename _Rep2, typename _Period2>
struct common_type<chrono::duration<_Rep1, _Period1>,
chrono::duration<_Rep2, _Period2>>
@@ -85,7 +85,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
typedef chrono::duration<__cr, __r> type;
};
- // 20.8.2.3 specialization of common_type (for time_point)
+ // 20.11.4.3 specialization of common_type (for time_point)
template<typename _Clock, typename _Dur1, typename _Dur2>
struct common_type<chrono::time_point<_Clock, _Dur1>,
chrono::time_point<_Clock, _Dur2>>
@@ -227,7 +227,7 @@ _GLIBCXX_END_NAMESPACE_VERSION
"period must be a specialization of ratio");
static_assert(_Period::num > 0, "period must be positive");
- // 20.8.3.1 construction / copy / destroy
+ // 20.11.5.1 construction / copy / destroy
constexpr duration() = default;
constexpr duration(const duration&) = default;
@@ -249,12 +249,12 @@ _GLIBCXX_END_NAMESPACE_VERSION
~duration() = default;
duration& operator=(const duration&) = default;
- // 20.8.3.2 observer
+ // 20.11.5.2 observer
constexpr rep
count() const
{ return __r; }
- // 20.8.3.3 arithmetic
+ // 20.11.5.3 arithmetic
constexpr duration
operator+() const
{ return *this; }
@@ -332,7 +332,7 @@ _GLIBCXX_END_NAMESPACE_VERSION
return *this;
}
- // 20.8.3.4 special values
+ // 20.11.5.4 special values
static constexpr duration
zero()
{ return duration(duration_values<rep>::zero()); }
OpenPOWER on IntegriCloud