std::basic_string_view::back
| constexpr const_reference back() const; |  | (since C++17) | 
|---|
返回对视图中最后一个字符的引用。如果empty() == true...
参数
%280%29
返回值
引用最后一个字符,相当于operator[](size() - 1)...
复杂性
常量。
另见
| front | accesses the first character (public member function) | 
|---|---|
| empty | checks whether the view is empty (public member function) | 
 © cppreference.com在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

