]> www.ginac.de Git - ginac.git/blobdiff - ginac/lst.cpp
merging 1.2 branch into main trunk
[ginac.git] / ginac / lst.cpp
similarity index 79%
rename from ginac/lst_suppl.cpp
rename to ginac/lst.cpp
index 7c0d83fc91c3f5fe03e8f2c41b7c4143482d0509..566d16b172f9cc9081b84db060aee1113b2aaf88 100644 (file)
@@ -1,7 +1,6 @@
-/** @file lst_suppl.cpp
+/** @file lst.cpp
  *
- *  Supplement to lst.cpp, contains the parts which were not automatically
- *  generated. */
+ *  Implementation of GiNaC's lst. */
 
 /*
  *  GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany
 
 namespace GiNaC {
 
+GINAC_IMPLEMENT_REGISTERED_CLASS(lst, basic)
+
+/** Specialization of container::info() for lst. */
 bool lst::info(unsigned inf) const
 {
-       if (inf==info_flags::list) return true;
-       return basic::info(inf);
+       if (inf == info_flags::list)
+               return true;
+       else
+               return inherited::info(inf);
 }
 
 } // namespace GiNaC