Everett
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
everett::niche_value< Codec, Sentinel > Struct Template Reference

#include <sort_codec.h>

Public Types

using value_type = std::optional< typename Codec::value_type >
 

Static Public Member Functions

static void write (sort_bit_writer &out, value_type const &value)
 
static value_type read (sort_bit_reader &in)
 
static void skip (sort_bit_reader &in)
 

Static Public Attributes

static constexpr auto fixed_value_bits = Codec::fixed_value_bits
 

Member Typedef Documentation

◆ value_type

template<class Codec , auto Sentinel>
using everett::niche_value< Codec, Sentinel >::value_type = std::optional<typename Codec::value_type>

Member Function Documentation

◆ read()

template<class Codec , auto Sentinel>
static value_type everett::niche_value< Codec, Sentinel >::read ( sort_bit_reader &  in)
inlinestatic

◆ skip()

template<class Codec , auto Sentinel>
static void everett::niche_value< Codec, Sentinel >::skip ( sort_bit_reader &  in)
inlinestatic

◆ write()

template<class Codec , auto Sentinel>
static void everett::niche_value< Codec, Sentinel >::write ( sort_bit_writer &  out,
value_type const &  value 
)
inlinestatic

Member Data Documentation

◆ fixed_value_bits

template<class Codec , auto Sentinel>
constexpr auto everett::niche_value< Codec, Sentinel >::fixed_value_bits = Codec::fixed_value_bits
staticconstexpr

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