Bitcoin Core 32.99.0
P2P Digital Currency
Loading...
Searching...
No Matches
mp::InterfaceField Concept Reference

Concept satisfied when T's .get() method returns a capnp interface type (i.e., a type that exposes a nested Calls type in generated code). More...

#include <util.h>

Concept definition

template<typename T>
concept mp::InterfaceField = requires { typename Decay<decltype(std::declval<T>().get())>::Calls; }
Concept satisfied when T's .get() method returns a capnp interface type (i.e., a type that exposes a ...
Definition util.h:120
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.
Definition time.h:82

Detailed Description

Concept satisfied when T's .get() method returns a capnp interface type (i.e., a type that exposes a nested Calls type in generated code).

Definition at line 120 of file util.h.