Boost logo

Boost :

From: Richard Crossley (rdc_at_[hidden])
Date: 2002-04-13 03:50:38


> > 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

Fails identically with VC6.

Richard.


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