Write the specified value to the specified output stream as a 32-bit int, and return a reference to stream. The specified version is ignored. If stream is initially invalid, this operation has no effect. Note that this function is called only for enumeration types and that if value is outside the range of an int32_t the externalization will be lossy. Also note that this function is for internal use only. See the bslx package-level documentation for more information on BDEX streaming of value-semantic types and containers.
Declared in <bslx_outstreamfunctions.h>
template<
class STREAM,
class TYPE>
STREAM&
bdexStreamOutImp(
STREAM& stream,
TYPE const& value,
int version,
IsEnumType const&);