
14 Jun
2009
14 Jun
'09
1:47 p.m.
AMDG Dmitry Vinogradov wrote:
Steven Watanabe wrote:
This is a great start. There are a few more things I'd like to see. * if which_ is negative it means that the variant is storing a pointer to an object of type T ## -(which_ + 1).
Please tell me how to reproduce it. Does it for recursive_wrapper?
You can only get it if the copy constructor of one of the contained elements throws when a variant is assigned. See http://tinyurl.com/lh7bce In Christ, Steven Watanabe