First I was going to suggest you to use mpl::front to retrieve the first element of the type sequence, but the new variant doc does not state that the first element of the type sequence will be created in the variant's memory. I remember to read that it was once the case.
At least, the document that appears at the site states so: http://www.boost.org/doc/libs/1_35_0/doc/html/variant/tutorial.html#variant.... http://www.boost.org/doc/libs/1_35_0/doc/html/variant/design.html#variant.de...
You can try this: (But I am not sure if it works or is portable) Yes, it seems to be what I need.
Thank you. _________________________________________________________________ Connect to the next generation of MSN Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline