![]() |
Bitcoin Core 29.99.0
P2P Digital Currency
|
Function parameter type for prioritizing overloaded function calls that would otherwise be ambiguous. More...
#include <util.h>
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.