userver: userver/formats/common/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

Metaprogramming helpers for converters detection.

Definition in file meta.hpp.

Go to the source code of this file.

#include <type_traits>
#include <userver/formats/parse/to.hpp>
#include <userver/formats/serialize/to.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  formats
 Value formats representation, parsing and serialization.
 
namespace  formats::common
 Common utilities for all the formats.
 

Typedefs

template<typename Value , typename T >
using formats::common::ParseType = decltype(Parse(std::declval<Value>(), parse::To<T>()))
 

Variables

template<class Value >
constexpr bool formats::common::kIsFormatValue