Patch for stl_vector.h and vector.tcc.
Jonathan Wakely
cow@compsoc.man.ac.uk
Thu Feb 12 12:01:00 GMT 2004
On Thu, Feb 12, 2004 at 05:34:54PM +0530, Dhruv Matani wrote:
> 2004-02-12 Dhruv Matani <dhruvbird@gmx.net>
>
> * bits/stl_deque.h: Created a _Deque_impl class and made the
> allocator derive from this class instead of directly from the
As with your previous changelog, this states that the allocator derives
from the new Impl class, but doesn't the Impl class derive from the
allocator?
> deque class, which was not conformant. Changed all refereneces
> to the _M_start, _M_finish, _M_map, and _M_map_size to
> _M_impl.*.
> (_Deque_base<_Tp,_Alloc>::~_Deque_base()): Added this->
> qualification in 2 places where it was missing.
> (_Deque_base<_Tp,_Alloc>::_M_initialize_map(size_t)): Same as
> above.
>
> * bits/deque.tcc: Same as above (changed all referneces to
> the concerned variables).
Also, references spelled differently each time :-)
jon T. Pedant
(Ooh, how embarassing, this random sig is stolen from PME :-)
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
- Brian W. Kernighan
More information about the Libstdc++
mailing list