name clash: `class ALUGrid` vs. `namespace ALUGrid`
The following piece of code does not compile for me with gcc 4.9:
#include "config.h"
#include <dune/alugrid/grid.hh>
template< class G>
void foo() {}
int main()
{
using namespace Dune;
foo<ALUGrid<2, 2, simplex, conforming>>();
}
Changing the call to foo
to
foo<Dune::ALUGrid<2, 2, simplex, conforming>>();
resolves the issue. I thus suspect a name clash between the class ALUGrid
and the namespace ALUGrid
.