#45 operator<< for GeometryType doesn't work
Metadata
Property | Value |
---|---|
Reported by | Oliver Sander (oliver.sander@tu-dresden.de) |
Reported at | Nov 14, 2005 14:03 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Closed by | Oliver Sander (oliver.sander@tu-dresden.de) |
Closed at | Dec 30, 2005 15:01 |
Closed in version | Unknown |
Resolution | Not a bug |
Comment | I am not able to reproduce this bug anymore. |
Description
The following code-snippet
UGGrid<2,2> grid; std::vector vertices(3); grid.insertElement(hexahedron, vertices);
produces
GridError: You cannot insert a 7 into a UGGrid<2,2>!
The DUNE_THROW macro by itself
GeometryType type = hexahedron DUNE_THROW(GridError, "You cannot insert a " << type << " into a UGGrid<2,2>!");
produces the correct result. I have no clue why this is so.