2
0
mirror of https://github.com/boostorg/proto.git synced 2026-01-28 07:22:31 +00:00

accomodate recent change to fusion::fold, remove old support for Doxygen and pre-1.35 Fusion, fixes #3553

[SVN r57159]
This commit is contained in:
Eric Niebler
2009-10-26 15:15:05 +00:00
parent 541c129fd6
commit 6796470e20
46 changed files with 641 additions and 964 deletions

View File

@@ -6,19 +6,12 @@
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <sstream>
#include <boost/version.hpp>
#include <boost/mpl/int.hpp>
#include <boost/mpl/min_max.hpp>
#include <boost/mpl/eval_if.hpp>
#include <boost/mpl/identity.hpp>
#include <boost/mpl/next_prior.hpp>
#if BOOST_VERSION < 103500
# include <boost/spirit/fusion/sequence/at.hpp>
# include <boost/spirit/fusion/sequence/tuple.hpp>
namespace boost { namespace fusion { namespace result_of { using namespace meta; }}}
#else
# include <boost/fusion/tuple.hpp>
#endif
#include <boost/fusion/tuple.hpp>
#include <boost/typeof/typeof.hpp>
#include <boost/typeof/std/sstream.hpp>
#include <boost/typeof/std/ostream.hpp>
@@ -95,11 +88,7 @@ struct lambda_context
typename fusion::result_of::at<Tuple, I>::type
operator ()(proto::tag::terminal, placeholder<I> const &) const
{
#if BOOST_VERSION < 103500
return fusion::at<I::value>(this->args_);
#else
return fusion::at<I>(this->args_);
#endif
}
Tuple args_;