Boost logo

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

Alexander Nasonov
Independent Developer and Consultant

Boost list run by bdawes at, gregod at, cpdaniel at, john at