]> www.ginac.de Git - ginac.git/blobdiff - ginac/lst.cpp
* Fix some language conformance issues needed for GCC 4.0
[ginac.git] / ginac / lst.cpp
index 97e793e4bde043e1dd533e54c379236aba4a7a04..0621ce68fd644e43cf4dd625c128d97c8dfa35d4 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-2005 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
 
 namespace GiNaC {
 
-template <> 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
+template <> bool lst::info(unsigned inf) const
 {
        if (inf == info_flags::list)
                return true;