std::experi..._view::back(3)
πΈ NAME πΈ
std::experimental::basic_string_view::back β okay so the NAME is literally std::experimental::basic_string_view::back again (yes bestie, it repeats, that's the manpage vibe π
). This is the std::experi..._view::back(3) page from the C++ Standard Libary manual, and we're about to make it make sense. π«Ά
β¨ Synopsis β¨
the whole signature vibe check:
constexpr const_reference back() const; (library fundamentals TS)
Returns a reference to the last character in the view. That's the main character move. β¨
π Parameters π
(none) β literally zero parameters, not a single one, bestie π.
π Return value π
Reference to the last character, equivalent to operator[](size() - 1). That's the whole return-value story, periodt. π
π₯ Complexity π₯
Constant. β‘ no cap.
π¦ See also π¦
frontβ accesses the first character (public member function). π¦
π Category π
Noindexed pages
source/version + date slay: http://cppreference.com + 2024.06.10 β 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