5#ifndef MP_PROXY_TYPE_UNORDERED_SET_H
6#define MP_PROXY_TYPE_UNORDERED_SET_H
10#include <unordered_set>
13template <
typename LocalType,
typename Value,
typename Output>
23template <
typename LocalType,
typename Input,
typename ReadDest>
32 [&](
auto& value,
size_t size) {
36 [&](
auto& value,
auto&&...
args) ->
auto& {
37 return *value.emplace(std::forward<
decltype(
args)>(
args)...).first;
Functions to serialize / deserialize common bitcoin types.
void BuildList(TypeList< LocalType >, InvokeContext &invoke_context, Output &&output, Value &&value)
decltype(auto) CustomReadField(TypeList< LocalType >, Priority< 1 >, InvokeContext &invoke_context, Input &&input, ReadDest &&read_dest)
Overload multiprocess library's CustomReadField hook to allow any object with an Unserialize method t...
decltype(auto) ReadList(TypeList< LocalType >, InvokeContext &invoke_context, Input &&input, ReadDest &&read_dest, InitFn &&init, EmplaceFn &&emplace)
void CustomBuildField(TypeList< LocalType >, Priority< 1 >, InvokeContext &invoke_context, Value &&value, Output &&output)
Overload multiprocess library's CustomBuildField hook to allow any serializable object to be stored i...
Function parameter type for prioritizing overloaded function calls that would otherwise be ambiguous.
Generic utility functions used by capnp code.