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>
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> |