piped::adl_match
<piped/match.hpp>
template<typename M undefined, typename T undefined>
struct piped::adl_match;
Behavior for matching M
on a type T
for match<M>
For instance, a variant<Ts...>
is customized so match<M>
will match the variant if it currently holds the specified type.
Name | Description |
---|---|
can_match | |
does_match(S *v) |
Members
can_match
<piped/match.hpp>
constexpr bool piped::adl_match< M, T >::can_match
Description
<S> does_match(S *v)
<piped/match.hpp>
template<typename S>
static M* piped::adl_match< M, T >::does_match(S *v)
Description
Parameter | ||
---|---|---|
v | S * |