Re: Fusion example functional.cpp

Christopher Schmidt <[email protected]> Tue, 06 Apr 2010 22:49:23 +0200
Newsgroups gmane.comp.parsers.spirit.devel
Message-ID <[email protected]>
Fletcher, John P schrieb:
> Dear all
> 
> The example functional.cpp which is in boost_1_42_0/libs/fusion/example/performance relies on two headers
> 
> #include <boost/functional/forward_adapter.hpp>
> #include <boost/functional/lightweight_forward_adapter.hpp>
> 
> These I have found come from boost.functional/forward which was approved in late 2007 but has yet to appear in a release version of boost.
> 
> It is not possible to work out even from this page:
> 
> http://www.boost.org/community/review_schedule.html
> 
> when an approved library will be in a release, until after it has happened.

This issue was reported shortly after the major code change deadline of
1.42. Unfortunately the documentation has not been reverted, so 1.42's
docs and code are out of sync.

http://thread.gmane.org/gmane.comp.lib.boost.devel/198532/focus=198583

BTW. I think this is not fixed in the release branch for 1.43 either -
and the branch is closed for major code changes again.
In fact, I think the code in the release branch does not work at all.
The functionality that got refactored out of fusion in favor of
Boost.Functional/Forward (changeset 51379; unfused_generic,
unfused_lvalue_args, unfused_rvalue_args) does exist in the release
branch, but the vital macros BOOST_FUSION_UNFUSED_GENERIC_MAX_ARITY,
BOOST_FUSION_UNFUSED_RVALUE_ARGS_MAX_ARITY,
BOOST_FUSION_UNFUSED_LVALUE_ARGS_MAX_ARITY are not defined any more.
CC'ing Joel. This is quite a problem...

-Christopher


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev