[Effective-cpp] Item 35: Familiarize yourself with the language standard

Gregory Haley ghaley at venaca.com
Fri Jun 13 19:32:23 EDT 2003


>
> There are five major groupings rather than six: containers, algorithms,
> iterators, function objects and allocators. Adaptors are not really a
> component category: they are a subclassification of all of them, ie
> there are adapted containers, iterators and functions objects. In other
> words, the notion of an adaptor is not a classification by the same
> criteria of type as the other categories.
>
> We can further argue that there are only four practical categories,
> because allocators offer no useful support of the main goal of generic
> programming.
>
> Or, another way of looking at it, and the one that I prefer, is that the
> four core groupings are manifested in two forms: actual class templates
> and the specification of families of which they are members.

I am more than happy to accept your assessment, here, Kevlin.  I especially
like the taxonomy that you propose.

ciao!
greg.

Gregory Haley
Sr. Software Engineer
Venaca, Inc.
New York, NY, USA




More information about the Effective-cpp mailing list