const_iterator cend() const noexcept;
12345678910111213
// string::cbegin/cend #include <iostream> #include <string> int main () { std::string str ("Lorem ipsum"); for (auto it=str.cbegin(); it!=str.cend(); ++it) std::cout << *it; std::cout << '\n'; return 0; }
Lorem ipsum