On May 19, 12:15 pm, Pablo Winant <pablo.win...@gmail.com> wrote: > Would it work to simply rename Array class to SingularArray in > singular's spkg, maybe using a preprocessor directive ?
well, and in all the places in Sage that uses Singular's Array... You'd rather do this to Octave, at least it's only your code. > > 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 athttp://groups.google.com/group/sage-devel > URL:http://www.sagemath.org -- 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