BitStream
bitstream::serialize_traits< bool > Struct Reference

A trait used to serialize a boolean as a single bit. More...

#include <bool_trait.h>

Static Public Member Functions

template<typename Stream >
static utility::is_writing_t< Stream > serialize (Stream &writer, in< bool > value) noexcept
 
template<typename Stream >
static utility::is_reading_t< Stream > serialize (Stream &reader, out< bool > value) noexcept
 

Detailed Description

A trait used to serialize a boolean as a single bit.

Member Function Documentation

◆ serialize() [1/2]

template<typename Stream >
static utility::is_reading_t<Stream> bitstream::serialize_traits< bool >::serialize ( Stream &  reader,
out< bool >  value 
)
inlinestaticnoexcept

◆ serialize() [2/2]

template<typename Stream >
static utility::is_writing_t<Stream> bitstream::serialize_traits< bool >::serialize ( Stream &  writer,
in< bool >  value 
)
inlinestaticnoexcept

The documentation for this struct was generated from the following file: