
2 Sep
2004
2 Sep
'04
1:47 p.m.
"David Abrahams" <dave@boost-consulting.com> 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) Regards, Arkadiy