std::char_t...aits::find,(3)
πΈ NAME πΈ
okay so bestie, this page is std::char_t...aits::find,(3) from the C++ Standard Libary manual β and yes, βLibaryβ is exactly how itβs spelled here, we are not fixing it, we are respecting the icon behavior. The name bits are literally:
std::char_traits::find,std::char_traits::find, -std::char_traits::find,std::char_traits::find,
(Yes, it says it twice. The page said it twice, so weβre saying it twice. Consistency slay.)
β¨ Synopsis β¨
std::char_traits<char32_t>::find
static const char_type*
find( const char_type* ptr, std::size_t count, const
(constexpr since C++17)
char_type& ch );
Searches for character ch within the first count characters of the sequence pointed to by ptr.
Also, real talk: see CharTraits for the general requirements on character traits for X::find. Thatβs the exact cross-reference vibe, no cap.
π Parameters π
ptrβ pointer to a character string to searchcountβ the number of characters to analyzechβ the character to search for
π Return value π
A pointer to the first character in the range specified by [ptr, ptr + count) that compares equal to ch, or a null pointer if not found.
π¦ Complexity π¦
Linear in count.
cute sign-off: source http://cppreference.com, version/date 2024.06.10, page std::char_t...aits::find,(3). stan cppreference for this one, fr fr. π«Ά
π¦ 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