X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Flst.cpp;h=f4c247fb3ed340633ea170ea6d7cc42e8cf6c4c5;hp=f457f4a406fff3c2219e3a93e798f14e074a1efe;hb=3918e4767063fb45e5728bd9b3a09dd8ac30d055;hpb=6d225ee55693c0617d254e6fa283c00c71bd2919 diff --git a/ginac/lst.cpp b/ginac/lst.cpp index f457f4a4..f4c247fb 100644 --- a/ginac/lst.cpp +++ b/ginac/lst.cpp @@ -3,7 +3,7 @@ * Implementation of GiNaC's lst. */ /* - * GiNaC Copyright (C) 1999-2004 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2008 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 @@ -17,19 +17,19 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "lst.h" namespace GiNaC { -template <> GINAC_IMPLEMENT_REGISTERED_CLASS_OPT(lst, basic, +template <> GINAC_IMPLEMENT_REGISTERED_CLASS_OPT_T(lst, basic, print_func(&lst::do_print). print_func(&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;