Index: lambda_functor_base.hpp =================================================================== --- lambda_functor_base.hpp (revision 41836) +++ lambda_functor_base.hpp (working copy) @@ -16,6 +16,10 @@ namespace boost { namespace lambda { +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) +#pragma warning(push) +#pragma warning(disable:4512) //assignment operator could not be generated +#endif // for return type deductions we wrap bound argument to this class, // which fulfils the base class contract for lambda_functors @@ -42,6 +46,10 @@ RET call(CALL_FORMAL_ARGS) const { CALL_USE_ARGS; return elem; } }; +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) +#pragma warning(pop) +#endif + template inline lambda_functor > var(T& t) { return identity(t); } Index: lambda_functors.hpp =================================================================== --- lambda_functors.hpp (revision 41836) +++ lambda_functors.hpp (working copy) @@ -105,8 +105,11 @@ // other lambda_functors. // ------------------------------------------------------------------- +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) +#pragma warning(push) +#pragma warning(disable:4512) //assignment operator could not be generated +#endif - // -- lambda_functor NONE ------------------------------------------------ template class lambda_functor : public T @@ -244,6 +247,9 @@ } }; +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) +#pragma warning(pop) +#endif } // namespace lambda } // namespace boost