userver: userver/dump/aggregates.hpp File Reference
Loading...
Searching...
No Matches
aggregates.hpp File Reference

Detailed Description

Dumping support for aggregates.

Definition in file aggregates.hpp.

Go to the source code of this file.

#include <type_traits>
#include <boost/pfr/core.hpp>
#include <boost/pfr/tuple_size.hpp>
#include <userver/dump/operations.hpp>
+ Include dependency graph for aggregates.hpp:

Classes

struct  dump::IsDumpedAggregate< T >
 

Namespaces

namespace  dump
 Dumping of cache-like components.
 

Functions

template<typename T >
std::enable_if_t< impl::IsDumpableAggregate< T >()> dump::Write (Writer &writer, const T &value)
 Aggregates dumping support.
 
template<typename T >
std::enable_if_t< impl::IsDumpableAggregate< T >(), T > dump::Read (Reader &reader, To< T >)
 Aggregates deserialization from dump support.