-/** @file lst_suppl.cpp
+/** @file lst.cpp
*
- * Supplement to lst.cpp, contains the parts which were not automatically
- * generated. */
+ * Implementation of GiNaC's lst. */
/*
* GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany
namespace GiNaC {
+GINAC_IMPLEMENT_REGISTERED_CLASS(lst, basic)
+
+/** Specialization of container::info() for lst. */
bool lst::info(unsigned inf) const
{
- if (inf==info_flags::list) return true;
- return basic::info(inf);
+ if (inf == info_flags::list)
+ return true;
+ else
+ return inherited::info(inf);
}
} // namespace GiNaC