Would it work to simply rename Array class to SingularArray in
singular's spkg, maybe using a preprocessor directive ?
Le 18/05/2010 18:01, Martin Albrecht a écrit :
It's been a while since I coded in C++, but isn't there always a
simple way out, just by putting these classes in different namespaces?
(IMHO it's a silly of a library developer to call something "Array"
and put in into the global namespace,
hoping that noone else ever is going to call "Array" something
entirely different...)
The Array class in Singular probably dates back to the times when templates
(and namespaces?) weren't stable in any mainstream compiler yet, IIRC
Martin
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org