[RFC] Moving apart SGI extensions
Benjamin Kosnik
bkoz@redhat.com
Wed Dec 26 22:33:00 GMT 2001
Right on! Thanks Paolo.
> For the time being I have simply moved them at the end of the file inside
> namespace __gnu_cxx (with the minimal necessary adjustments, basically a few
> added std::). This structure is similar to what currently happens for the
> installed g++-v3/exception.
Ok.
> What else should I do? Even inside __gnu_cxx should the names be uglifyied? In
> case, how exactly, i.e., how when, f.i., __random_sample and random_sample are
> both already used??
Yeah usually the names have to be uglified even in the squestered namespace.
So, random_sample -> __random_sample. I believe they all have different
arguments, so it shouldn't matter if some already are named __random_sample.
> Perhaps another namespace (not __gnu_cxx) should be used for SGI extensions vs
> general extensions?
Hmm. This is to be avoided if at all possible.
Thanks again for all your hard work!
-benjamin
More information about the Libstdc++
mailing list