#679 Avoid reinterpret_cast in UGGrid
Metadata
| Property | Value |
|---|---|
| Reported by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
| Reported at | Dec 2, 2009 18:32 |
| Type | Bug Report |
| Version | Git (pre2.4) [autotools] |
| Operating System | Unspecified / All |
| Last edited by | Oliver Sander (oliver.sander@tu-dresden.de) |
| Last edited at | Sep 6, 2012 14:10 |
| Closed by | Oliver Sander (oliver.sander@tu-dresden.de) |
| Closed at | Sep 6, 2012 14:10 |
| Closed in version | Unknown |
| Resolution | Fixed |
| Comment | There all still reinterpret_casts in UGGrid, but AFAICT they do not violate strict aliasing. Please reopen if you run into problems. |
Description
There are several places with reinterpret_cast in UGGrid. At least some of them are easily avoided using placement-new
I created patch for the UG Geometry.
Please check this patch...