X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fexprseq.h;h=8c008e65399808137a1c2728b3ecbd8c6e1f626b;hp=f28b1f763caa0c4024886726f146acbe373d426d;hb=ff09c4f8103f53fe3b7a51eb3c33eff2e5a243f0;hpb=5473c80815c979a31f70c36a8053b0cd89907375 diff --git a/ginac/exprseq.h b/ginac/exprseq.h index f28b1f76..8c008e65 100644 --- a/ginac/exprseq.h +++ b/ginac/exprseq.h @@ -3,7 +3,7 @@ * Definition of GiNaC's exprseq. */ /* - * 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,7 +17,7 @@ * * 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 */ #ifndef __GINAC_EXPRSEQ_H__ @@ -32,17 +32,11 @@ namespace GiNaC { typedef container exprseq; /** Specialization of container::get_tinfo() for exprseq. */ -template<> inline unsigned exprseq::get_tinfo() { return TINFO_exprseq; } +template<> inline tinfo_t exprseq::get_tinfo() { return &exprseq::tinfo_static; } // defined in exprseq.cpp template<> bool exprseq::info(unsigned inf) const; -/** Specialization of is_exactly_a(obj) for exprseq objects. */ -template<> inline bool is_exactly_a(const basic & obj) -{ - return obj.tinfo() == TINFO_exprseq; -} - } // namespace GiNaC #endif // ndef __GINAC_EXPRSEQ_H__