Concept requiring that a type T can be serialized and deserialized with error type E.
More...
#include <typed_server.hpp>
template<typename T, typename E>
{ serialize(obj) } -> std::same_as<std::vector<std::byte>>;
{ deserialize<T>(bytes) } -> std::same_as<tl::expected<T, E>>;
}
Concept requiring that a type T can be serialized and deserialized with error type E.
Definition typed_server.hpp:24
Concept requiring that a type T can be serialized and deserialized with error type E.