{
inline basic_string<char>
- operator"" s(const char* __str, size_t __len)
+ operator""s(const char* __str, size_t __len)
{ return basic_string<char>{__str, __len}; }
#ifdef _GLIBCXX_USE_WCHAR_T
inline basic_string<wchar_t>
- operator"" s(const wchar_t* __str, size_t __len)
+ operator""s(const wchar_t* __str, size_t __len)
{ return basic_string<wchar_t>{__str, __len}; }
#endif
#ifdef _GLIBCXX_USE_C99_STDINT_TR1
inline basic_string<char16_t>
- operator"" s(const char16_t* __str, size_t __len)
+ operator""s(const char16_t* __str, size_t __len)
{ return basic_string<char16_t>{__str, __len}; }
inline basic_string<char32_t>
- operator"" s(const char32_t* __str, size_t __len)
+ operator""s(const char32_t* __str, size_t __len)
{ return basic_string<char32_t>{__str, __len}; }
#endif
} // __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,
}
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,
}
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,
}
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,
}
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,
}
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,