Metaprogramming helpers for converters detection. More...
#include <type_traits>
#include <userver/formats/parse/to.hpp>
#include <userver/formats/serialize/to.hpp>
#include <userver/utils/meta.hpp>
Go to the source code of this file.
Namespaces | |
namespace | formats |
Value formats representation, parsing and serialization. | |
namespace | formats::common |
Common utilities for all the formats. | |
Variables | |
template<class Value > | |
constexpr bool | formats::common::kIsFormatValue |
Metaprogramming helpers for converters detection.
kHasX
are only intended for internal diagnostic use. formats
doesn't support SFINAE, so e.g. kHasParse
can return true
while a usage of Parse
will fail to compile. Definition in file meta.hpp.