[Patch/RFC] Fix libstdc++/15775

Paolo Carlini pcarlini@suse.de
Wed Jun 9 12:50:00 GMT 2004


Hi,

in my reading of the standard, due to the requirements for allocators 
(20.1.5,
in particular Table 32 and 20.1.5, p4) strictly speaking the library is
correct as is, in the sense that, f.i.,

    typedef value_type*                        pointer;

is equivalent to

    typedef typename _Alloc::pointer           pointer;

However, we are already using the latter syntax (exactly that specified 
in the
standard) in set e multiset and seems good, for consistency, to use it 
also for
the other containers.

Anything I'm missing?

Otherwise I'll commit soon the below to mainline, tested x86-linux.

Thanks,
Paolo.

//////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_15775
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040609/2231b430/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_15775
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040609/2231b430/attachment-0001.ksh>


More information about the Libstdc++ mailing list