Skip to content

sgns::storage::changes_trie

Classes

Name
class sgns::storage::changes_trie::ChangesTracker
struct sgns::storage::changes_trie::ChangesTrieConfig
class sgns::storage::changes_trie::ChangesTrie
class sgns::storage::changes_trie::StorageChangesTrackerImpl

Functions

Name
template <class Stream ,typename =std::enable_if_t>
Stream &
operator<<(Stream & s, const ChangesTrieConfig & config)
scale-encodes config instance to stream
template <class Stream ,typename =std::enable_if_t>
Stream &
operator>>(Stream & s, ChangesTrieConfig & config)
decodes config instance from stream

Functions Documentation

function operator<<

template <class Stream ,
typename  =std::enable_if_t<Stream::is_encoder_stream>>
Stream & operator<<(
    Stream & s,
    const ChangesTrieConfig & config
)

scale-encodes config instance to stream

Parameters:

  • s output stream reference
  • config value to encode

Template Parameters:

  • Stream output stream type

Return: reference to stream

function operator>>

template <class Stream ,
typename  =std::enable_if_t<Stream::is_decoder_stream>>
Stream & operator>>(
    Stream & s,
    ChangesTrieConfig & config
)

decodes config instance from stream

Parameters:

  • s input stream reference
  • config value to decode

Template Parameters:

  • Stream output stream type

Return: reference to stream


Updated on 2026-03-04 at 13:10:44 -0800