userver: userver/formats/common/meta.hpp File Reference
Loading...
Searching...
No Matches
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>
+ 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 = meta::kIsDetected<impl::IsFormatValue, Value>