This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: CHECKLIST and "implementation defined"
- From: Nathan Myers <ncm-nospam at cantrip dot org>
- To: libstdc++ at gcc dot gnu dot org
- Date: Thu, 15 May 2003 15:22:06 -0700
- Subject: Re: CHECKLIST and "implementation defined"
- References: <20030515213335.GA27546@disaster.jaj.com>
On Thu, May 15, 2003 at 05:33:35PM -0400, Phil Edwards wrote:
> 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?
Agreed. IIRC they started out as "partial" because of things like
vector<> and basic_string<> iterators implemented as pointers, and
not being derived from iterator<>.
I wonder if there are new elements introduced in TC1. Seems like
there may have been some mem_fun follies.
Nathan Myers
ncm-nospam@cantrip.org