enable_if_tuple_rank(3) enable_if_tuple_rank(3)

NAME

enable_if_tuple_rank - enable function depending on tuple rank

SYNOPSIS

#include <cfl/tuple/functions/enable_if_tuple_rank.hpp>

auto g = enable_if_tuple_rank <size_t N...> (f);

auto r = g (u...);

DESCRIPTION

Auguments a function f with a predicate on argument tuple ranks. The function g is eligible for application when the the tuple ranks for u... is equal to N....

RETURN VALUES

A function.

NOTE

The arity of f must match the number of provided N.