Variable navtk::TENSORS_ARE_LESS_THAN_DIM

Variable Documentation

template<size_t Dim, typename ...T>
constexpr bool navtk::TENSORS_ARE_LESS_THAN_DIM = ((IS_VALID<T> && requires { typename std::enable_if_t<(TensorMeta<T>::DIM_COUNT < Dim)>; }) &&...)

TENSORS_ARE_LESS_THAN_DIM can be used as a condition in SFINAE expressions.

To evaluate to true, all listed tensors must have a dimension less than the Dim.