struct vertex
{
th::Vector3 point[2];
std::list<vertex>::iterator pointConnection[2];
};
std::list<vertex> vertices;
vertices.push_back(
{{vertex1->_getDerivedPosition(), vertex2->_getDerivedPosition()},
{vertices.end(), vertices.end()}}
);
我找不到为什么在以下编译正常时这不起作用的原因?你能解释一下吗?我究竟做错了什么?
vertex v = {{vertex1->_getDerivedPosition(), vertex2->_getDerivedPosition()},
{vertices.end(), vertices.end()};