14 Dec
2006
14 Dec
'06
10:07 p.m.
"Ovanes Markarian"
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