Boost logo

Boost :

Subject: Re: [boost] [typeof] Weird VC++ compiler bug
From: Rob Stewart (rob.stewart_at_[hidden])
Date: 2015-05-23 08:12:10


On May 22, 2015 2:57:26 PM EDT, Edward Diener <eldiener_at_[hidden]> wrote:
> On 5/22/2015 11:24 AM, Steven Watanabe wrote:
> > AMDG
> >
> > On 05/22/2015 08:02 AM, Edward Diener wrote:
> >> I discovered a strange VC++ bug using Boost.typeof. I am not
> posting
> >> this to rag VC++ but wondering if there is some known workaround in
> >> Boost or in Boost.config.
> >>
> >
> > The workaround for most weird Boost.Typeof errors
> > is BOOST_TYPEOF_NESTED_TYPEDEF_TPL.
>
> Thanks !
>
> I saw that macro and saw the mention in the doc of "deconfusing
> several
> compilers (notably VC7.1 and VC8.0) on the way", and could not get it
> into my head that this could still be a problem with VC12. Of course I
> should have tried it.
>
> Oh Microsoft ! What's a little bug that you refuse to fix for at least
> a decade and counting.

Isn't the problem the lack of two-phase lookup in that compiler?

___
Rob

(Sent from my portable computation engine)


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