Boost logo

Boost :

Subject: Re: [boost] lambda compile error
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-03-18 14:56:07


AMDG

On 03/18/2011 10:42 AM, Andy Venikov wrote:
> On 03/18/2011 01:36 PM, Steven Watanabe wrote:
>>
>> What's the error? It works for me with msvc 10 and the trunk.
>>
>
> OK, this one is rather long.

Grrr. I can't reproduce this. I tried gcc 4.5.1
with Boost 1.42, and it still compiles fine. Can
you provide the full compiler command line?

> Sorry I couldn't prune since I'm not sure what's important and what's
> not.

No problem. Unfortunately, it has everything
except what I need, since it's missing the
types that select returns...

Can you try a couple other tests?
a) Does it work if you use int instead of multmap?
b) What about a simple class w/ an assignment operator?
c) Do the individual pieces work:
     MP& r1 = var(mp1)(mp2);
     const MP& r2 = _1(mp2):

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