userver: userver/dump/meta.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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.