Bitcoin Core 29.99.0
P2P Digital Currency
mp::Priority< priority > Struct Template Reference

Function parameter type for prioritizing overloaded function calls that would otherwise be ambiguous. More...

#include <util.h>

Detailed Description

template<int priority>
struct mp::Priority< priority >

Function parameter type for prioritizing overloaded function calls that would otherwise be ambiguous.

Example: auto foo(Priority<1>) -> std::enable_if<>; auto foo(Priority<0>) -> void;

foo(Priority<1>()); // Calls higher priority overload if enabled.

Definition at line 108 of file util.h.


The documentation for this struct was generated from the following file: