RPNX::QueryGraph
Typed, memoized, concurrent query evaluation for C++23
Loading...
Searching...
No Matches
rpnx::querygraph::binary_traits< std::monostate > Struct Reference

Empty binary representation used for std::monostate. More...

#include <querygraph.hpp>

Static Public Member Functions

static std::vector< std::byte > serialize_to_binary (std::monostate const &)
 Return the unique empty encoding of a monostate value.
 
static std::vector< std::byte > serialize_to_binary (std::monostate const &value)
 Serialize one value into a byte vector.
 

Detailed Description

Empty binary representation used for std::monostate.

Definition at line 282 of file querygraph.hpp.

Member Function Documentation

◆ serialize_to_binary() [1/2]

static std::vector< std::byte > rpnx::querygraph::binary_traits< std::monostate >::serialize_to_binary ( std::monostate const & )
inlinestatic

Return the unique empty encoding of a monostate value.

Definition at line 285 of file querygraph.hpp.

◆ serialize_to_binary() [2/2]

static std::vector< std::byte > rpnx::querygraph::binary_traits< std::monostate >::serialize_to_binary ( std::monostate const & value)
inlinestatic

Serialize one value into a byte vector.

Parameters
valueValue to serialize.
Returns
Serialized byte representation.

Definition at line 272 of file querygraph.hpp.


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