Bitcoin Core 28.99.0
P2P Digital Currency
ipc::capnp::Deserializable Concept Reference

Detect if type has a deserialize_type constructor, which is used to deserialize types like CTransaction that can't be unserialized into existing objects because they are immutable. More...

#include <common-types.h>

Concept definition

template<typename T>
concept ipc::capnp::Deserializable = std::is_constructible_v<T, ::deserialize_type, ::DataStream&>
Detect if type has a deserialize_type constructor, which is used to deserialize types like CTransacti...
Definition: common-types.h:39

Detailed Description

Detect if type has a deserialize_type constructor, which is used to deserialize types like CTransaction that can't be unserialized into existing objects because they are immutable.

Definition at line 39 of file common-types.h.