Boost logo

Boost :

From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2004-09-02 08:47:31

"David Abrahams" <dave_at_[hidden]> wrote

> MPL vectors contain optimizations that a naive type vector (and
> _especially_ a typelist) does not

Just out of curiosity, what's a "naive type vector"?

> You mean iterators? What makes you think their presence is going to
> cause compilation to slow down?

Well, iterators are separate templates, and require to be instantiated...
Also if you dereference them through meta-function, like
mpl::dereference<Iter>::type, that's one more instantiation.

(Not that I think it's critical for the typeof implementation)


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