NearestNeighbours<Motion *>是NearestNeighbours模板类实例化后的一个类型,将这个类型作为std::shared_ptr模板类的参数就得到了std::shared_ptr<NearestNeighbours<Motion *>>类型
NearestNeighbours<Motion *>
NearestNeighbours
std::shared_ptr
std::shared_ptr<NearestNeighbours<Motion *>>
模板的模板而已