std::vector< Eigen::Matrix3d, Eigen::aligned_allocatorEigen::Matrix3d >
vector的声明如下:
template<typename _Tp, typename _Alloc = std::allocator<_Tp> >
class vector : protected _Vector_base<_Tp, _Alloc>
有两个模板参数,_Tp 是元素类型, _Alloc 负责提供 vector 需要用到的动态内存。其中 _Alloc 参数有默认值,一般的使用(如int, float等)不需要指定这个参数。但对内存有特殊需求,就需要提供自己定义的内存管理类。