Create a string reference to external character data.

Synopsis

Declared in <bslstl_stringref.h>

StringRefImp(
    CHAR_TYPE const* data,
    size_type length);

Description

Create a string‐reference object having a valid std::string value, whose external representation begins at the specified data address and extends for the specified length characters.

Parameters

Name

Description

data

address of the external character data

length

number of characters in the referenced sequence

Created with MrDocs