std::char_t...raits::eof,(3)
β¨ NAME β¨
okay so bestie, this is the page for std::char_traits::eof from the C++ Standard Libary manual (yes, that spelling is exactly what's on the page, iykyk π«Ά). The header is all std::char_t...raits::eof,(3), and the raw NAME block is literally:
std::char_traits::eof,std::char_traits::eof, -
std::char_traits::eof,std::char_traits::eof,
β¨ Synopsis β¨
Here's the synopsis in its natural habitat:
std::char_traits<char32_t>::eof
static int_type eof(); (constexpr since C++11)
(noexcept since C++11)
The page says: βReturns a value not equivalent to any valid value of type char_type.β That's the whole mood. π
And for the general requirements on character traits for X::eof, it says: βSee CharTraits for the general requirements on character traits for X::eof.β π
β¨ Parameters β¨
(none)β literally no parameters, bestie. Nothing to pass, nothing to flex. π
β¨ Return value β¨
Here's the char_type β eof() mapping, and yes it's giving very specific:
charβEOFwchar_tβWEOFchar8_tβ an implementation-defined constant that cannot appear as a valid UTF-8 code unitchar16_tβ an implementation-defined constant that cannot appear as a valid UTF-16 code unitchar32_tβ an implementation-defined constant that cannot appear as a Unicode code point
β¨ Complexity β¨
Constant. That's it. That's the complexity. periodt. β
β¨ See also β¨
not_eofβ checks whether a character is eof value;[static](public static member function)
okay that's the whole page, bestie. source: http://cppreference.com, version/date: 2024.06.10, page: std::char_t...raits::eof,(3). mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms