]> www.ginac.de Git - ginac.git/blobdiff - ginac/ncmul.h
- removed manual basepointer-fiddling in construct-on-first-use objects
[ginac.git] / ginac / ncmul.h
index 361deff62434470a8368ad708fd6f822d2130d2c..67d381bc473ac6b13d9256c18a209ba2dfd16221 100644 (file)
@@ -51,7 +51,7 @@ public:
        ncmul(const exvector & v, bool discardable=false);
        ncmul(exvector * vp); // vp will be deleted
 
-       // functions overriding virtual functions from bases classes
+       // functions overriding virtual functions from base classes
 public:
        void print(const print_context & c, unsigned level = 0) const;
        unsigned precedence(void) const {return 50;}
@@ -89,7 +89,7 @@ ex simplified_ncmul(const exvector & v);
 
 // utility functions
 
-/** Return the ncmul object handled by an ex.
+/** Return the ncmul object handled by an ex.  Deprecated: use ex_to<ncmul>().
  *  This is unsafe: you need to check the type first. */
 inline const ncmul &ex_to_ncmul(const ex &e)
 {