|
NcEngine
|
#include "ncutility/detail/SerializeCpo.h"Go to the source code of this file.
Variables | |
| constexpr nc::serialize::cpo::SerializeFn | nc::serialize::Serialize |
| Serialize an object to a stream. More... | |
| constexpr nc::serialize::cpo::DeserializeFn | nc::serialize::Deserialize |
| Deserialize an object from a stream. More... | |
| constexpr size_t | nc::serialize::g_aggregateMaxMemberCount = 16ull |
| The maximum number of members an aggregate may have for default serialization. | |
|
inlineconstexpr |
Deserialize an object from a stream.
|
inlineconstexpr |
Serialize an object to a stream.
Serialize and Deserialize are function objects with call signatures: void Serialize(std::ostream&, const T&) void Deserialize(std::istream&, T&)
Calls to them are equivalent to the first matched valid expression among:
void T::Serialize(std::ostream&) const void T::Deserialize(std::istream&)void Serialize(std::ostream&, const T&) void Deserialize(std::istream&, T&)nc::serialize::binary namespace with the signature: void nc::serialize::binary::Serialize(std::ostream&, const T&) void nc::serialize::binary::Deserialize(std::istream&, T&)The following are supported by the overloads from number 3: