I deleted members not mentioned in TR1, I'll be doing a thorough
review
before I'm finished. There are still a few places that don't conform
to
C++STYLE, and I have a few questions:
Should I have put helpers in __gnu_cxx, or in e.g. __gnu_tr1 ?
Wow. That's a good question. Do you think the helpers are generally
useful? If so, I'd say __gnu_cxx. If not, I'd say __gnu_tr1.
This kind of thing we can always change as we get more experience with
this.
What's the proper policy on uglification? Do *all* non-standard names
have to be uglified?
e.g. std::tr1::shared_ptr uses a __gnu_cxx::__shared_count,
shared_ptr::use_count() calls __shared_count::use_count(),
shared_ptr::unique() calls __shared_count::unique(),
shared_ptr::release() calls __shared_count::release() etc.
Do I need to uglify the __shared_count members, so e.g.
shared_ptr::unique() calls __shared_count::_M_unique() ?
(I have done so, but can easily undo it)
Man, do the uglification rules ever need to be explained. I find myself
wondering about this issue a lot as well.