diff --git a/common/interfaces.hh b/common/interfaces.hh index c57aa5efb898328f47e42c1a7df386abeda61269..bd20a5ac1531a907bc4b99cdec0f1638874661d4 100644 --- a/common/interfaces.hh +++ b/common/interfaces.hh @@ -8,12 +8,17 @@ namespace Dune { //! An interface class for cloneable objects struct Cloneable { - /** \brief ??? - \todo Please doc me!!! + /** \brief Clones the object + clone needs to be redefined by an implementation class, with the + return type covariantly adapted. Remember to + delete the resulting pointer. */ virtual Cloneable* clone() const = 0; }; + //! Tagging interface to indicate that Grid provides typedef ObjectStreamType + struct HasObjectStream {}; + } // end namespace Dune #endif