|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-11-20 12:20:45
From: "Mac Murrett" <mmurrett_at_[hidden]>
> Instead, how about this...
>
> #if defined(BOOST_BIND_ENABLE_PASCAL)
> #define BOOST_BIND_ST pascal
> #define BOOST_BIND_CC
> #include <boost/bind/bind_cc.hpp>
> #undef BOOST_BIND_ST
> #undef BOOST_BIND_CC
> #endif
>
> ... coupled with a find-and-replace of "R (BOOST_BIND_CC *" with
> "BOOST_BIND_ST R (BOOST_BIND_CC *" in bind_cc.hpp, and of course empty
> #defines of BOOST_BIND_ST for the other includes of bind_cc.hpp. This,
> unlike the easier suggestion I previously suggested, actually compiles and
> works.
It's in the CVS.
-- Peter Dimov Multi Media Ltd.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk