The patch for std::list.

Dhruv Matani dhruvbird@gmx.net
Fri Feb 13 14:29:00 GMT 2004


Same thing for std::list<>. The clear() issue.

The new test case has code written in a better fashion, so that new
containers can be added easily. I need some help in the test case where
the container's name needs to be determined from the template argument.


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


-------------- next part --------------
2004-02-13  Dhruv Matani  <dhruvbird@gmx.net>

	* bits/stl_list.h: Created a _List_impl class and made it
	derive from the allocator, instead of the list deriving from the
	allocator class, which was not conformant. Changed all references
	from this->_M_node to this->_M_impl._M_node

	* bits/list.tcc: Same as above (changed all references to
	the concerned variables).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.13_02_2004.list.dhruv
Type: text/x-patch
Size: 8635 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040213/72524f46/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alloc_opt.cpp
Type: text/x-c++
Size: 2630 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040213/72524f46/attachment-0001.bin>


More information about the Libstdc++ mailing list