BitStream
|
A trait used to serialize a double as-is, without any bound checking or quantization. More...
#include <float_trait.h>
Static Public Member Functions | |
template<typename Stream > | |
static utility::is_writing_t< Stream > | serialize (Stream &writer, in< double > value) noexcept |
Serializes a whole double into the writer. More... | |
template<typename Stream > | |
static utility::is_reading_t< Stream > | serialize (Stream &reader, double &value) noexcept |
Serializes a whole double from the reader. More... | |
A trait used to serialize a double as-is, without any bound checking or quantization.
|
inlinestaticnoexcept |
Serializes a whole double from the reader.
reader | The stream to read from |
value | The double to serialize to |
|
inlinestaticnoexcept |
Serializes a whole double into the writer.
writer | The stream to write to |
value | The double to serialize |