diff options
| author | emsr <emsr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-23 00:12:36 +0000 |
|---|---|---|
| committer | emsr <emsr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-23 00:12:36 +0000 |
| commit | c713de3a4155f58cb776170e2f71be76a61a63ec (patch) | |
| tree | cc678f5888ddd1cfaa4daf246400cb082bce5a34 /libstdc++-v3/include/std | |
| parent | 9d4f199cb467963c38de1ab5f53595a7d0640267 (diff) | |
| download | ppe42-gcc-c713de3a4155f58cb776170e2f71be76a61a63ec.tar.gz ppe42-gcc-c713de3a4155f58cb776170e2f71be76a61a63ec.zip | |
2013-10-22 Edward Smith-Rowland <3dw4rd@verizon.net>
* include/bits/basic_string.h (operator""s): Remove space between quotes
and literal identifier.
* include/std/chrono (operator""h, operator""min, operator""s,
operator""ms, operator""us, operator""ns): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203941 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std')
| -rw-r--r-- | libstdc++-v3/include/std/chrono | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libstdc++-v3/include/std/chrono b/libstdc++-v3/include/std/chrono index d5ef984279d..deeb460433d 100644 --- a/libstdc++-v3/include/std/chrono +++ b/libstdc++-v3/include/std/chrono @@ -810,14 +810,14 @@ _GLIBCXX_END_NAMESPACE_VERSION } // __select_type constexpr chrono::duration<long double, ratio<3600,1>> - operator"" h(long double __hours) + operator""h(long double __hours) { return chrono::duration<long double, ratio<3600,1>>{__hours}; } template <char... _Digits> constexpr typename __select_type::_Select_type<__select_int::_Select_int<_Digits...>::value, chrono::hours>::type - operator"" h() + operator""h() { return __select_type::_Select_type< __select_int::_Select_int<_Digits...>::value, @@ -825,14 +825,14 @@ _GLIBCXX_END_NAMESPACE_VERSION } constexpr chrono::duration<long double, ratio<60,1>> - operator"" min(long double __mins) + operator""min(long double __mins) { return chrono::duration<long double, ratio<60,1>>{__mins}; } template <char... _Digits> constexpr typename __select_type::_Select_type<__select_int::_Select_int<_Digits...>::value, chrono::minutes>::type - operator"" min() + operator""min() { return __select_type::_Select_type< __select_int::_Select_int<_Digits...>::value, @@ -840,14 +840,14 @@ _GLIBCXX_END_NAMESPACE_VERSION } constexpr chrono::duration<long double> - operator"" s(long double __secs) + operator""s(long double __secs) { return chrono::duration<long double>{__secs}; } template <char... _Digits> constexpr typename __select_type::_Select_type<__select_int::_Select_int<_Digits...>::value, chrono::seconds>::type - operator"" s() + operator""s() { return __select_type::_Select_type< __select_int::_Select_int<_Digits...>::value, @@ -855,14 +855,14 @@ _GLIBCXX_END_NAMESPACE_VERSION } constexpr chrono::duration<long double, milli> - operator"" ms(long double __msecs) + operator""ms(long double __msecs) { return chrono::duration<long double, milli>{__msecs}; } template <char... _Digits> constexpr typename __select_type::_Select_type<__select_int::_Select_int<_Digits...>::value, chrono::milliseconds>::type - operator"" ms() + operator""ms() { return __select_type::_Select_type< __select_int::_Select_int<_Digits...>::value, @@ -870,14 +870,14 @@ _GLIBCXX_END_NAMESPACE_VERSION } constexpr chrono::duration<long double, micro> - operator"" us(long double __usecs) + operator""us(long double __usecs) { return chrono::duration<long double, micro>{__usecs}; } template <char... _Digits> constexpr typename __select_type::_Select_type<__select_int::_Select_int<_Digits...>::value, chrono::microseconds>::type - operator"" us() + operator""us() { return __select_type::_Select_type< __select_int::_Select_int<_Digits...>::value, @@ -885,14 +885,14 @@ _GLIBCXX_END_NAMESPACE_VERSION } constexpr chrono::duration<long double, nano> - operator"" ns(long double __nsecs) + operator""ns(long double __nsecs) { return chrono::duration<long double, nano>{__nsecs}; } template <char... _Digits> constexpr typename __select_type::_Select_type<__select_int::_Select_int<_Digits...>::value, chrono::nanoseconds>::type - operator"" ns() + operator""ns() { return __select_type::_Select_type< __select_int::_Select_int<_Digits...>::value, |

