X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Flst.h;h=1aa484f48e3f6f238eac135a0f6fadd798016ad4;hp=be3c4855ccf5d452b098f553f6db0b45e8d3e9e1;hb=92203097b593322eda950cf8c831177a0c204129;hpb=da64e515abf7243bc4c84ca3631470931c4e6691 diff --git a/ginac/lst.h b/ginac/lst.h index be3c4855..1aa484f4 100644 --- a/ginac/lst.h +++ b/ginac/lst.h @@ -3,7 +3,7 @@ * Definition of GiNaC's lst. */ /* - * GiNaC Copyright (C) 1999-2005 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2006 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 @@ -32,7 +32,7 @@ namespace GiNaC { typedef container lst; /** Specialization of container::get_tinfo() for lst. */ -template<> inline unsigned lst::get_tinfo() { return TINFO_lst; } +template<> inline tinfo_t lst::get_tinfo() { return &lst::tinfo_static; } /** Specialization of container::get_default_flags() for lst. */ template<> inline unsigned lst::get_default_flags() { return status_flags::not_shareable; } @@ -46,12 +46,6 @@ template<> inline char lst::get_close_delim() { return '}'; } // defined in lst.cpp template<> bool lst::info(unsigned inf) const; -/** Specialization of is_exactly_a(obj) for lst objects. */ -template<> inline bool is_exactly_a(const basic & obj) -{ - return obj.tinfo() == TINFO_lst; -} - } // namespace GiNaC #endif // ndef __GINAC_LST_H__