如何使下列代码工作?
for (auto f=face.begin(); f!=face.end(); ++f)
{
if (std::addressof(*f) == 0x18b9160) // error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
{
cout << "found";
}
}发布于 2014-06-21 19:43:41
if (std::addressof(*f) == (void*)0x18b9160)https://stackoverflow.com/questions/24345183
复制相似问题