Provides dump::kIsDumpable and includes userver/dump/fwd.hpp.
Definition in file meta.hpp.
Go to the source code of 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 = std::is_same_v<meta::DetectedType<impl::WritableResult, T>, void> |
Check if writer.Write(T) is available. | |
template<typename T > | |
constexpr bool | dump::kIsReadable = std::is_same_v<meta::DetectedType<impl::ReadableResult, T>, std::remove_const_t<T>> |
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. | |