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

Detailed Description

Provides dump::kIsDumpable and includes userver/dump/fwd.hpp.

Definition in file meta.hpp.

Go to the source code of this file.

#include <type_traits>
#include <userver/dump/fwd.hpp>
#include <userver/utils/meta_light.hpp>
+ Include dependency graph for meta.hpp:
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  dump
 Dumping of cache-like components.
 

Functions

template<typename T >
constexpr bool dump::CheckDumpable ()
 

Variables

template<typename T >
constexpr bool dump::kIsWritable
 Check if writer.Write(T) is available.
 
template<typename T >
constexpr bool dump::kIsReadable
 Check if reader.Read<T>() is available.
 
template<typename T >
constexpr bool dump::kIsDumpable = kIsWritable<T> && kIsReadable<T>
 Check if T is both writable and readable.