Typedef navtk::Initializer

Typedef Documentation

template<size_t D, typename C>
using navtk::Initializer = typename InitializerListNested<D, C>::type

Recursive initializer list helper type for templating a specific dimension of list.

Usage would be Initializer<{dimension of overload you are aiming for}, Scalar>. Example: Initializer<2, double> would resolve as the type std::initializer_list<std::initializer_list<double>>.

Template Parameters
  • D – dimension of initializer list

  • C – type of contents of the initializer list