std::basic_string<CharT,Traits,Allocator>::begin, (3) - Linux Manuals
std::basic_string<CharT,Traits,Allocator>::begin,: std::basic_string<CharT,Traits,Allocator>::begin,
NAME
std::basic_string<CharT,Traits,Allocator>::begin, - std::basic_string<CharT,Traits,Allocator>::begin,
Synopsis
iterator begin();
iterator begin()
const_iterator begin()
const_iterator begin()
const_iterator cbegin()
Returns an iterator to the first character of the string.
begin()
cbegin()
basic_string&>(*this).begin().
range-begin-end.svg
Parameters
(none)
Return value
iterator to the first character
Complexity
Constant
Example
// Run this code
Output:
See also
end
cend
(C++11)