Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-04-12 23:34:41


On Friday 12 April 2002 09:47 am, you wrote:
> The version of ref.hpp currently in cvs fails under VC7 with the
> following code:
>
> #include <boost/ref.hpp>
>
> struct X{
> enum E{v};
> void func()
> {
> E e = v;
> boost::ref(e); // line 8
> }
> };

We might have to disable the use of addressof() in ref for VC7 (is VC6 also
affected?), then, unless someone sees a workaround?

        Doug


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