0
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()};
4

1 回答 1

0

显然,MSVC 还没有办法做到这一点。

于 2013-05-16T20:34:03.933 回答