BDEX‐stream an unsigned long to stream as a 32‐bit unsigned int.
Synopsis
Declared in <bslx_outstreamfunctions.h>
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
unsigned long const& value,
int version = 0);
Description
Write the specified unsigned long value to the specified output stream as a 32‐bit unsigned int, and return a reference to stream. The optionally specified version is ignored. If stream is initially invalid, this operation has no effect. Note that for platforms where unsigned long is not equivalent to uint32_t, this operation may be lossy. 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 |
unsigned long integer value to externalize |
version |
ignored version number |
Created with MrDocs