"Aleksey Gurtovoy"
Brian Simpson wrote:
It gets me to the next (apparent) obstacle, which is that I need to define a variant using the types in the derived sequence (the second_types, to be specific).
Are we talking about 'boost::variant' here? Because the latter accepts MPL-sequence template arguments directly - you just pass a sequence to it, and that's all.
[...] Oops. I got the impression, from the conversations resulting from the review of boost::variant, that that feature was being removed. I'll try it and see what I get. Meanwhile, just before I got your post, I submitted another one, which deals with this same problem applied to boost::tuple. I'll do a little research over the weekend to see if I jumped the gun there, too ;) . --Brian