This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
CHECKLIST and "implementation defined"
- From: Phil Edwards <phil at jaj dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Thu, 15 May 2003 17:33:35 -0400
- Subject: CHECKLIST and "implementation defined"
17_intro/CHECKLIST is horribly out of date. No particular blame there,
it just is. So I'm starting to bring it up to date, at least partially.
The containers have status flags for each of their required members. The
container as a whole then gets the "worst" scoring flag of all its members.
Right now we have a lot of containers that look like this:
X class foo {
public:
T typedef typename Allocator::reference reference;
T typedef typename Allocator::const_reference const_reference;
X typedef implementation defined iterator;
X typedef implementation defined const_iterator;
T typedef implementation defined size_type;
T typedef implementation defined difference_type;
T everything else
};
I don't consider the iterators to be "partially implemented or buggy,"
so this is a proposal to upgrade their status to T. Thoughts?
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams