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 type std::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 type std::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 type std::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 type std::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 type std::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 type std::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