The 'typename' is not necessary (nor allowed, in C++98) here because it is not inside
a template.
cells,
SubCellData()); // no boundary information
- typename Triangulation<dim>::cell_iterator cell = tria.begin();
- typename Triangulation<dim>::cell_iterator end = tria.end();
+ Triangulation<dim>::cell_iterator cell = tria.begin();
+ Triangulation<dim>::cell_iterator end = tria.end();
while (cell != end)
{
cells,
SubCellData()); // no boundary information
- typename Triangulation<dim>::cell_iterator cell = tria.begin();
- typename Triangulation<dim>::cell_iterator end = tria.end();
+ Triangulation<dim>::cell_iterator cell = tria.begin();
+ Triangulation<dim>::cell_iterator end = tria.end();
while (cell != end)
{
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams