| Thread Previous • Date Previous • Date Next • Thread Next |
void myfunction(const Cell& cell) const
{
for (VertexIterator vertex(cell); !vert.end(); ++vert)
{
. . . .
}
}
but have to do
void myfunction(const Cell& cell) const
{
for (VertexIterator vertex(const_cast<Cell&>(cell)); !vert.end();
++vert)
{
. . . .
}
}
instead?
Garth
| Thread Previous • Date Previous • Date Next • Thread Next |