BloombergLP::bslstl::StringRefImp::begin

Return an iterator to the first character of the referenced string.

Synopsis

Declared in <bslstl_stringref.h>

StringRefImp<CHAR_TYPE>::const_iterator
begin() const;

Description

Return an STL-compatible iterator to the first character of the string bound to this string reference or end() if the string reference is empty. The iterator remains valid as long as this object is valid and is bound to the same string.

Return Value

iterator to the first character, or end() if empty