Skip to content
Snippets Groups Projects
Commit 170b678f authored by Adrian Burri's avatar Adrian Burri
Browse files

Added tagging interface

[[Imported from SVN: r2736]]
parent 4b8be91f
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment