BDEX-stream a bsl::string value to stream.
Declared in <bslx_outstreamfunctions.h>
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
bsl::string const& value,
int version = 0);
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.
a reference to stream
| Name | Description |
|---|---|
| stream | output stream to write to |
| value | string value to externalize |
| version | ignored version number |