Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-11-27 19:01:37


----- Original Message -----
From: "Hamish Mackenzie" <boost_at_[hidden]>

> On Tue, 2001-11-27 at 22:28, Andrei Alexandrescu wrote:
> > This is going to be a very long post,
> so I won't quote it here
>
> As I have not yet used mpl or loki (and MC++D is on my christmas list
> :-) ) I might be out of my depth but....
>
> 1) Could the name mpl::type_list be depreciated in favor of typevector
> or type_vector which is perhaps more descriptive of its interface (even
> if it is implemented with a singly linked list)? This makes sense to me
> as the class mpl::type_list isn't even a list in the prolog sense
> (mpl::list_node is).

mpl's type_vector is different from type_list: it is of fixed maximum
length, and allows compile-time random access. This is a significant
difference and can be a real advantage on compilers with slow template
instantiation.

-dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk