|
Boost : |
Subject: Re: [boost] [preprocessor]BOOST_PP_CHECK_2 with wrong number args
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-09-01 16:58:12
On 8/24/2011 6:33 PM, Larry Evans wrote:
> On 08/24/11 17:20, Edward Diener wrote:
> [snip]
>> I have Eric Niebler's curryable.h. Is that your header file renamed to
>> curryable.hpp ? What doe curryable.cpp look like ?
> Just #include's curryable.hpp.
>>
>> If I can know the exact curryable.hpp and curryable.cpp you are using I
>> can try it out with gcc-4.6.0 using MingW under Windows and see what my
>> results are.
> They're attached.
> Thanks.
Paul Mensonides explains why this error is occuring in the "painless
currying" thread. The main gist for solving the compiler issue with gcc
is to change:
#elif BOOST_PP_ITERATION_FLAGS() == 1
to
#else
#if BOOST_PP_ITERATION_FLAGS() == 1
and to use the Boost PP code in the Boost trunk.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk