std::experi..._view::size,(3)
πΈ NAME πΈ
okay so bestie, welcome to the std::experi..._view::size,(3) page from the C++ Standard Libary manual. This is the main-character page for std::experimental::basic_string_view::size β and the NAME line literally lists both of these:
std::experimental::basic_string_view::size, -std::experimental::basic_string_view::size,
periodt. Thatβs the name situation, no cap. π
β¨ Synopsis β¨
Two signatures, both tagged (library fundamentals TS), and yes they are constexpr and noexcept:
constexpr size_type size() const noexcept; (library fundamentals TS)
constexpr size_type length() const noexcept; (library fundamentals TS)
This one returns the number of CharT elements in the view, i.e. std::distance(begin(), end()). fr fr, thatβs the whole vibe. π¦
π Parameters π
(none)
Literally none. Not a single parameter. The vibe check is empty. π
π Return value π
The number of CharT elements in the view. Thatβs the return value, bestie. Slay. β¨
π₯ Complexity π₯
Constant. No cap, itβs constant. Keep it moving. π
π See also π
emptyβ checks whether the view is empty (public member function)max_sizeβ returns the maximum number of characters (public member function)
π Category π
* Noindexed pages
This adorable little page came from http://cppreference.com, with the version/date 2024.06.10, and the page is std::experi..._view::size,(3). Byeee bestie, go check that view size ππ«Άβ¨
π¦ 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