Patch for stl_vector.h and vector.tcc.

Dhruv Matani dhruvbird@gmx.net
Thu Feb 12 14:17:00 GMT 2004


On Thu, 2004-02-12 at 17:31, Jonathan Wakely wrote:
> 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?

Sorry.



> > 	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  :-)

Yes, and and wrongly too (both times!)

I've sent another patch for the change logs and the stl_vector.h file.
Sorry for the goof ups ;-(




-- 
	-Dhruv Matani.
http://www.geocities.com/dhruvbird/





More information about the Libstdc++ mailing list