Provided by: libstdc++-13-doc_13-20230320-1ubuntu1_all
NAME
std::literals - ISO C++ inline namespace for literal suffixes.
SYNOPSIS
Namespaces namespace chrono_literals Functions constexpr chrono::day operator''d (unsigned long long __d) noexcept Literal suffix for creating chrono::day objects. template<char... _Digits> constexpr chrono::hours operator''h () Literal suffix for durations of type std::chrono::hours constexpr chrono::duration< long double, ratio< 3600, 1 > > operator''h (long double __hours) Literal suffix for durations representing non-integer hours. constexpr std::complex< double > operator''i (long double __num) constexpr std::complex< double > operator''i (unsigned long long __num) constexpr std::complex< float > operator''if (long double __num) constexpr std::complex< float > operator''if (unsigned long long __num) constexpr std::complex< long double > operator''il (long double __num) constexpr std::complex< long double > operator''il (unsigned long long __num) template<char... _Digits> constexpr chrono::minutes operator''min () Literal suffix for durations of type std::chrono::minutes constexpr chrono::duration< long double, ratio< 60, 1 > > operator''min (long double __mins) Literal suffix for durations representing non-integer minutes. template<char... _Digits> constexpr chrono::milliseconds operator''ms () Literal suffix for durations of type std::chrono::milliseconds constexpr chrono::duration< long double, milli > operator''ms (long double __msecs) Literal suffix for durations representing non-integer milliseconds. template<char... _Digits> constexpr chrono::nanoseconds operator''ns () Literal suffix for durations of type std::chrono::nanoseconds constexpr chrono::duration< long double, nano > operator''ns (long double __nsecs) Literal suffix for durations representing non-integer nanoseconds. template<char... _Digits> constexpr chrono::seconds operator''s () Literal suffix for durations of type std::chrono::seconds basic_string< char > operator''s (const char *__str, size_t __len) basic_string< char16_t > operator''s (const char16_t *__str, size_t __len) basic_string< char32_t > operator''s (const char32_t *__str, size_t __len) basic_string< wchar_t > operator''s (const wchar_t *__str, size_t __len) constexpr chrono::duration< long double > operator''s (long double __secs) Literal suffix for durations representing non-integer seconds. constexpr basic_string_view< char > operator''sv (const char *__str, size_t __len) noexcept constexpr basic_string_view< char16_t > operator''sv (const char16_t *__str, size_t __len) noexcept constexpr basic_string_view< char32_t > operator''sv (const char32_t *__str, size_t __len) noexcept constexpr basic_string_view< wchar_t > operator''sv (const wchar_t *__str, size_t __len) noexcept template<char... _Digits> constexpr chrono::microseconds operator''us () Literal suffix for durations of type std::chrono::microseconds constexpr chrono::duration< long double, micro > operator''us (long double __usecs) Literal suffix for durations representing non-integer microseconds. constexpr chrono::year operator''y (unsigned long long __y) noexcept Literal suffix for creating chrono::year objects.
Detailed Description
ISO C++ inline namespace for literal suffixes.
Function Documentation
constexpr std::complex< double > std::literals::complex_literals::operator''i (long double __num) [constexpr] Definition at line 2606 of file complex. constexpr std::complex< double > std::literals::complex_literals::operator''i (unsigned long long __num) [constexpr] Definition at line 2610 of file complex. constexpr std::complex< float > std::literals::complex_literals::operator''if (long double __num) [constexpr] Definition at line 2598 of file complex. constexpr std::complex< float > std::literals::complex_literals::operator''if (unsigned long long __num) [constexpr] Definition at line 2602 of file complex. constexpr std::complex< long double > std::literals::complex_literals::operator''il (long double __num) [constexpr] Definition at line 2614 of file complex. constexpr std::complex< long double > std::literals::complex_literals::operator''il (unsigned long long __num) [constexpr] Definition at line 2618 of file complex. basic_string< char > std::literals::string_literals::operator''s (const char * __str, size_t __len) [inline] Definition at line 4478 of file basic_string.h. basic_string< char16_t > std::literals::string_literals::operator''s (const char16_t * __str, size_t __len) [inline] Definition at line 4495 of file basic_string.h. basic_string< char32_t > std::literals::string_literals::operator''s (const char32_t * __str, size_t __len) [inline] Definition at line 4500 of file basic_string.h. basic_string< wchar_t > std::literals::string_literals::operator''s (const wchar_t * __str, size_t __len) [inline] Definition at line 4483 of file basic_string.h. constexpr basic_string_view< char > std::literals::string_view_literals::operator''sv (const char * __str, size_t __len) [inline], [constexpr], [noexcept] Definition at line 862 of file string_view. constexpr basic_string_view< char16_t > std::literals::string_view_literals::operator''sv (const char16_t * __str, size_t __len) [inline], [constexpr], [noexcept] Definition at line 876 of file string_view. constexpr basic_string_view< char32_t > std::literals::string_view_literals::operator''sv (const char32_t * __str, size_t __len) [inline], [constexpr], [noexcept] Definition at line 880 of file string_view. constexpr basic_string_view< wchar_t > std::literals::string_view_literals::operator''sv (const wchar_t * __str, size_t __len) [inline], [constexpr], [noexcept] Definition at line 866 of file string_view.
Author
Generated automatically by Doxygen for libstdc++ from the source code.