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: Nonstandard allocator::pointer in containers


Paolo Carlini wrote:

>Just wanted to add that, in my reading of the standard, we are really
>talking about an extension: among the requirements for allocator itself
>(20.1.5), there is 20.1.5/4 that says that the typedef member pointer is
>-required- to be T*.
>  
>
Sorry, I was wrong: this is eminently a QoI issue, because such
requirements are only intended as "permitted assumption" for containers:
in principle, an allocator may fullfil only Table 32 and still be called
a standard conforming allocator.

Paolo.


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