]> www.ginac.de Git - ginac.git/blobdiff - ginac/constant.h
* Supplement some (now deprecated) macros by inlined template functions:
[ginac.git] / ginac / constant.h
index 4c928765fd044c705c3e626520856aee8beb8318..160b7ac61aa294febcb2051839dc214bf8a23b55 100644 (file)
@@ -81,7 +81,7 @@ extern const constant Euler;
 
 // utility functions
 
-/** Return the constant object handled by an ex.
+/** Return the constant object handled by an ex.  Deprecated: use ex_to<constant>().
  *  This is unsafe: you need to check the type first. */
 inline const constant &ex_to_constant(const ex &e)
 {