std::literals(3cxx)
π NAME π
std::literals β manual page 3cxx, bestie π
. It's the ISO C++ inline namespace for literal suffixes. Periodt.
β¨ SYNOPSIS β¨
π¦ Namespaces π¦
namespace chrono_literalsβ the namespace, sitting right here with main character energy π«Ά.
πΈ Functions πΈ
template<char... _Digits> constexpr chrono::hours operator''h ()β Literal suffix for durations of typestd::chrono::hours. Slay β°.constexpr chrono::duration< long double, ratio< 3600, 1 > > operator''h (long double __hours)β Literal suffix for durations representing non-integer hours. Iconic π.template<char... _Digits> constexpr chrono::minutes operator''min ()β Literal suffix for durations of typestd::chrono::minutes. Yes bestie β±οΈ.constexpr chrono::duration< long double, ratio< 60, 1 > > operator''min (long double __mins)β Literal suffix for durations representing non-integer minutes. Obsessed β¨.template<char... _Digits> constexpr chrono::milliseconds operator''ms ()β Literal suffix for durations of typestd::chrono::milliseconds. Go off β.constexpr chrono::duration< long double, milli > operator''ms (long double __msecs)β Literal suffix for durations representing non-integer milliseconds. No cap π«.template<char... _Digits> constexpr chrono::nanoseconds operator''ns ()β Literal suffix for durations of typestd::chrono::nanoseconds. Tiny but fierce π§.constexpr chrono::duration< long double, nano > operator''ns (long double __nsecs)β Literal suffix for durations representing non-integer nanoseconds. Literally so small πΈ.template<char... _Digits> constexpr chrono::seconds operator''s ()β Literal suffix for durations of typestd::chrono::seconds. Main character time π .basic_string< char > operator''s (const char *__str, size_t __len)β no extra blurb in the source, so signature only bestie β¨.basic_string< char16_t > operator''s (const char16_t *__str, size_t __len)β same deal, signature only, no invented lore π.basic_string< char32_t > operator''s (const char32_t *__str, size_t __len)β signature only, keeping it exact fr fr π.basic_string< wchar_t > operator''s (const wchar_t *__str, size_t __len)β signature only, iconic and untouched π.constexpr chrono::duration< long double > operator''s (long double __secs)β Literal suffix for durations representing non-integer seconds. Chef's kiss π.constexpr basic_string_view< char > operator''sv (const char *__str, size_t __len) noexceptβ signature only, no extra description in the source, bestie π¦.constexpr basic_string_view< char16_t > operator''sv (const char16_t *__str, size_t __len) noexceptβ signature only, exact-exact-exact β¨.constexpr basic_string_view< char32_t > operator''sv (const char32_t *__str, size_t __len) noexceptβ signature only, no cap π«.constexpr basic_string_view< wchar_t > operator''sv (const wchar_t *__str, size_t __len) noexceptβ signature only, keeping the vibe immaculate πΈ.template<char... _Digits> constexpr chrono::microseconds operator''us ()β Literal suffix for durations of typestd::chrono::microseconds. Micro but make it fashion π .constexpr chrono::duration< long double, micro > operator''us (long double __usecs)β Literal suffix for durations representing non-integer microseconds. Slay in tiny units π.
π Detailed Description π
ISO C++ inline namespace for literal suffixes. That's the whole tea, bestie β no cap β.
βοΈ Author βοΈ
Generated automatically by Doxygen for libstdc++ from the source code. Iconic automation behavior, honestly π€π.
Cute sign-off: libstdc++ β’ std::literals(3cxx) β’ date: not printed in the footer, bestie π«Άπ
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms