X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fexprseq.h;h=225943b197f05fbd8c5a21074b53e50cae413e20;hp=78ff3360dadcccc31bb42f7bfe0a4bc057e26707;hb=cca88b51436e4b654d16a4d60cd0d1c66fcf5dd6;hpb=6d225ee55693c0617d254e6fa283c00c71bd2919;ds=sidebyside diff --git a/ginac/exprseq.h b/ginac/exprseq.h index 78ff3360..225943b1 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-2014 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,32 +17,23 @@ * * 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__ -#define __GINAC_EXPRSEQ_H__ - -#include +#ifndef GINAC_EXPRSEQ_H +#define GINAC_EXPRSEQ_H #include "container.h" +#include + namespace GiNaC { typedef container exprseq; -/** Specialization of container::get_tinfo() for exprseq. */ -inline unsigned exprseq::get_tinfo() { return TINFO_exprseq; } - // 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__ +#endif // ndef GINAC_EXPRSEQ_H