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。