#107 Default constructor for EntityPointer
Metadata
Property | Value |
---|---|
Reported by | Oliver Sander (oliver.sander@tu-dresden.de) |
Reported at | Mar 9, 2006 15:32 |
Type | Feature Request |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Oliver Sander (oliver.sander@tu-dresden.de) |
Last edited at | Dec 24, 2008 14:36 |
Closed by | Oliver Sander (oliver.sander@tu-dresden.de) |
Closed at | Dec 24, 2008 14:36 |
Closed in version | Unknown |
Resolution | Won't implement |
Comment | It turned out that majority of the Dune developers does not want the default constructor. |
Description
If the EntityPointer is to have true pointer semantics it needs a default constructor. In particular, this is necessary in order to be able to use C arrays of pointers.
The problem is that apparently some EntityPointer implementations are not default-constructible, because they contain a reference to the underlying grid. Thus one would have to replace those references by pointers or find another way of making them default constructible.