|
Boost Users : |
Subject: Re: [Boost-users] [lambda] warnings from Lambda
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-06-15 09:06:29
AMDG
Robert Jones wrote:
> I'm finding that pretty much every lambda :: bind call I make is producing a
> c4180 warning
> under Microsoft which I think is warning about the application a meaningless
> qualifier to the
> first argument of the bind call.
>
> So given, say
>
> bool f( int );
>
> lambda::bind( f, lambd::_1 );
>
> inside lambda_traits a const qualifier is applied to f, which is already
> const, hence the warning.
>
> Anyone know how to avoid this, other than #pragma to disable the warning?
>
Boost version? Compiler version?
It compiles cleanly for me with the trunk
and vc9, warning level 4.
In Christ,
Steven Watanabe
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net