This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Status of HP/SGI extensions



> this is a (probably incomplete) list of the extensions currently polluting
> namespace std::

[snip]

> Many of them can be rather easily moved (together with the respective helper
> functions) to new files in include/ext, as we have already done for the
> extensions inside stl_algo.h. I'm thinking for instance to rb_tree or to the
> stl_tempbuf.h stuff. I'm planning to work on those in the next days.

Great. This sounds like a good idea: let's pick off the easy stuff first.

> As pointed out by Gaby, it would be quite stupid to move the extensions together
> with their helpers to separate files in namespace __gnu_cxx if then we have to
> use the helpers to implement the standard library.

Right.

> What about keeping the helpers (that is, from a practical point of view, those
> names beginning with one or two underscores) insided namespace std, and
> viceversa putting the extension themselves into separate files in namespace
> __gnu_cxx?

Sounds good.

best,
benjamin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]