Typedef navtk::IfBothTensorsOfDim

Typedef Documentation

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

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

To be valid, type A and type B must both be Tensor types with Dim number of dimensions.