]> www.ginac.de Git - ginac.git/blobdiff - ginac/constant.h
- New tinfo mechanism
[ginac.git] / ginac / constant.h
index 9cf9d74d41dcf2013d24b6343392b745c8b064f8..331ad209e74e7c377fbcf22ec4d8fb4662474f58 100644 (file)
@@ -3,7 +3,7 @@
  *  Interface to GiNaC's constant types and some special constants. */
 
 /*
- *  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
@@ -75,14 +75,6 @@ extern const constant Pi;
 extern const constant Catalan;
 extern const constant Euler;
 
-// utility functions
-
-/** Specialization of is_exactly_a<constant>(obj) for constant objects. */
-template<> inline bool is_exactly_a<constant>(const basic & obj)
-{
-       return obj.tinfo()==TINFO_constant;
-}
-
 } // namespace GiNaC
 
 #endif // ndef __GINAC_CONSTANT_H__