5 #ifndef MP_PROXY_TYPE_PAIR_H 6 #define MP_PROXY_TYPE_PAIR_H 12 template <
typename KeyLocalType,
typename ValueLocalType,
typename Value,
typename Output>
19 auto pair = output.init();
25 template <
typename KeyLocalType,
typename ValueLocalType,
typename Input,
typename ReadDest>
32 const auto& pair = input.get();
37 KeyLocalType* key =
nullptr;
40 auto&
ret = read_dest.construct(std::piecewise_construct, std::forward_as_tuple(key_args...),
41 std::forward_as_tuple(value_args...));
50 #endif // MP_PROXY_TYPE_PAIR_H
Function parameter type for prioritizing overloaded function calls that would otherwise be ambiguous...
Generic utility functions used by capnp code.
Functions to serialize / deserialize common bitcoin types.
Mapping from capnp struct type to struct traits (specializations are generated by proxy-codegen...
void BuildField(TypeList< LocalTypes... >, Context &context, Output &&output, Values &&... values)
decltype(auto) CustomReadField(TypeList< LocalType >, Priority< 1 >, InvokeContext &invoke_context, Input &&input, ReadDest &&read_dest) requires Unserializable< LocalType
Overload multiprocess library's CustomReadField hook to allow any object with an Unserialize method t...
void CustomBuildField(TypeList< LocalType >, Priority< 1 >, InvokeContext &invoke_context, Value &&value, Output &&output) requires Serializable< LocalType
Overload multiprocess library's CustomBuildField hook to allow any serializable object to be stored i...
decltype(auto) ReadField(TypeList< LocalTypes... >, InvokeContext &invoke_context, Input &&input, Args &&... args)
Class< Types..., std::remove_reference_t< Args >... > Make(Args &&... args)
Construct a template class value by deducing template arguments from the types of constructor argumen...