| constexpr const_reference front() const; |
(library fundamentals TS) | |
Returns reference to the first character in the view.
Parameters
(none)
Return value
reference to the first character, equivalent to operator[](0).
Complexity
Constant.
See also
| accesses the last character (public member function) |
Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.