Boost logo

Boost :

Subject: Re: [boost] [variant] Visual Studio debug visualizers
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-06-14 09:47:12


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk