|
Boost : |
From: Alexander Nasonov (alnsn-mycop_at_[hidden])
Date: 2004-04-22 12:44:57
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk