]> www.ginac.de Git - ginac.git/blobdiff - ginac/lst.cpp
Synced to HEAD
[ginac.git] / ginac / lst.cpp
index 566d16b172f9cc9081b84db060aee1113b2aaf88..f457f4a406fff3c2219e3a93e798f14e074a1efe 100644 (file)
@@ -3,7 +3,7 @@
  *  Implementation of GiNaC's lst. */
 
 /*
- *  GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2004 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -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