Typedef navtk::IfTensorOfDim

Typedef Documentation

template<typename T, std::size_t Dim>
using navtk::IfTensorOfDim = std::enable_if_t<TensorMeta<T>::dimCount == Dim>

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

To be valid, type T must be a Tensor type with Dim number of dimensions.