A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
a11::data::serializable_internal::HasMsgpackBytes Concept Reference

#include <cpp/a11/data/serializable.h>

Concept definition

template<typename T>
concept a11::data::serializable_internal::HasMsgpackBytes = requires(const T& value, std::string_view bytes) {
{A11ToMsgpackBytes(value)}->std::same_as<absl::StatusOr<std::string>>;
{A11FromMsgpackBytes(TypeTag<T>{}, bytes)}->std::same_as<absl::StatusOr<T>>;
}
std::string value
Definition discover.cc:114
Empty tag carrying a type T so customization points are found by argument-dependent lookup even when ...
Definition serializable.h:86