BDEX‐stream a bsl::string value to stream.
Synopsis
Declared in <bslx_outstreamfunctions.h>
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
bsl::string const& value,
int version = 0);
Description
Write the specified bsl::string value to the specified output stream, and return a reference to stream. The optionally specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
Return Value
a reference to stream
Parameters
Name |
Description |
stream |
output stream to write to |
value |
string value to externalize |
version |
ignored version number |
Created with MrDocs