Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2006-12-14 17:07:25


"Ovanes Markarian" <om_boost_at_[hidden]> writes:

> But my question would be: Would you see an advantage in this
> approach (with type derivation)?

No

> On the other hand, if I could manipulate the types the same way in
> mpl::vector and mpl::map this would be more clearer. I think vector
> should not support the derived types as well.

I don't see an analogy. vector contains types directly, while map
contains mpl::pairs of types.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net