]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.h
the destructor, copy constructor, and assignment operator (which were the
[ginac.git] / ginac / structure.h
index 28abe6adaf8c40f9f390fdf18f87b00ac6fdde14..6c5400336732bafef22bab16c9ddd5dd4b88793a 100644 (file)
@@ -41,17 +41,7 @@ struct registered_structure_info {
 
 class structure : public basic
 {
-// member functions
-
-       // default constructor, destructor, copy constructor assignment operator and helpers
-public:
-       structure();
-       ~structure();
-       structure(const structure & other);
-       const structure & operator=(const structure & other);
-protected:
-       void copy(const structure & other);
-       void destroy(bool call_parent);
+       GINAC_DECLARE_REGISTERED_CLASS(structure, basic)
 
        // other constructors
        // none