Quick A: Use the normal template declaration.
Recently on SO:
C++ template typedef
C++11 added alias declarations, which are generalization of typedef, allowing templates:
template <size_t N> using Vector = Matrix<N, 1>;The type Vector<3> is equivalent to Matrix<3, 1>.
Add a Comment
Comments are closed.