]> www.ginac.de Git - ginac.git/blobdiff - ginac/lst.cpp
implemented operator-> for the iterators
[ginac.git] / ginac / lst.cpp
index 566d16b172f9cc9081b84db060aee1113b2aaf88..954182bb7d059efdf8f6b17744deb6b0071e6ca3 100644 (file)
@@ -24,7 +24,9 @@
 
 namespace GiNaC {
 
-GINAC_IMPLEMENT_REGISTERED_CLASS(lst, basic)
+template <> GINAC_IMPLEMENT_REGISTERED_CLASS_OPT(lst, basic,
+  print_func<print_context>(&lst::do_print).
+  print_func<print_tree>(&lst::do_print_tree))
 
 /** Specialization of container::info() for lst. */
 bool lst::info(unsigned inf) const