std::experi..._view::end,(3)
π std::experi..._view::end,(3) π
okay bestie, welcome to the std::experi..._view::end,(3) page from the C++ Standard Libary β yes, βLibaryβ is literally how itβs spelled in the header, and we are not fixing it, we are respecting the lore β¨
β¨ NAME β¨
This one is all about std::experimental::basic_string_view::end, β and the NAME block is a little quirky: it lists std::experimental::basic_string_view::end, - and then std::experimental::basic_string_view::end, again, commas and all. keeping it exact, no cap π«Ά
π¦ Synopsis π¦
Two signatures are hanging out here, and both are tagged (library fundamentals TS):
constexpr const_iterator end() const noexcept;
constexpr const_iterator cend() const noexcept;
Thereβs also a range-begin-end.svg diagram on the page, just vibing as the visual bestie π
Hereβs the tea: this thing returns an iterator to the character following the last character of the view. That character acts as a placeholder, and attempting to access it results in undefined behavior β so do not touch it, bestie, Iβm serious π
πΈ Parameters πΈ
(none) β literally none, zero, empty, the void, etc. π
π Return value π
A const_iterator to the character following the last character. thatβs the whole return value, periodt π
β Complexity β
Constant β iconic, fast, no drama π
π₯ See also π₯
beginβ returns an iterator to the beginningcbeginβ public member function
π Category π
Noindexed pages
byeee π β source: http://cppreference.com, version/date: 2024.06.10, and the page title is std::experi..._view::end,(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