Create a string‐reference object having a valid std::string value, whose external representation begins at the specified begin iterator and extends up to, but not including, the specified end iterator. The external representation must remain valid as long as it is bound to this string reference. The behavior is undefined unless begin <= end. Note that, like an std::string, the string need not be null‐terminated and may contain embedded null characters.

Synopsis

Declared in <bslstl_stringref.h>

StringRefImp(
    const_iterator begin,
    const_iterator end);

Created with MrDocs