Typedef navtk::IfFirstTensorOfDim

Typedef Documentation

template<typename A, typename B, std::size_t Dim>
using navtk::IfFirstTensorOfDim = std::enable_if_t<TensorMeta<A>::dimCount == Dim && TensorMeta<B>::dimCount != Dim>

IfFirstTensorOfDim can be used in a template definition to invalidate the template.

To be valid, type A must have Dim number of dimensions, and type B must not. Both must be Tensor types.