
22 Apr
2004
22 Apr
'04
5:44 p.m.
Eric Niebler wrote:
In this way, you only have to specify the element type, not the container type. The element_type isn't always better then the container type. Consider std::map<Key,Value> container which has std:pair<Key,Value> element type. The container could be typedef'ed in a user code while the element is often not. -- Alexander Nasonov Independent Developer and Consultant