add missing #include

[SVN r16243]
This commit is contained in:
Aleksey Gurtovoy
2002-11-15 00:02:02 +00:00
parent c8e99537c2
commit c15d806f8e
2 changed files with 9 additions and 2 deletions

View File

@@ -24,6 +24,12 @@
BOOST_PP_CAT(BOOST_MPL_AUX_APPLY,arity) args \
/**/
// agurt, 14/nov/02: temporary fix, need to research a couple of ICEs to
// get rid of this mess
#if defined(BOOST_MSVC) && BOOST_MSVC == 1300 && !defined(BOOST_MPL_PREPROCESSING_MODE)
# include "boost/mpl/apply.hpp"
#endif
#if defined(BOOST_MPL_USE_APPLY_INTERNALLY) \
|| defined(BOOST_BROKEN_DEFAULT_TEMPLATE_PARAMETERS_IN_NESTED_TEMPLATES) \
|| defined(BOOST_MSVC) && (BOOST_MSVC < 1300 || BOOST_MSVC == 1300 && defined(BOOST_MPL_PREPROCESSING_MODE))

View File

@@ -23,6 +23,7 @@
# include "boost/mpl/identity.hpp"
# include "boost/mpl/next.hpp"
# include "boost/mpl/if.hpp"
# include "boost/mpl/aux_/value_wknd.hpp"
# include "boost/mpl/aux_/bool_value_wknd.hpp"
#endif
@@ -99,7 +100,7 @@ struct iter_fold_if_forward_step
{
typedef typename BOOST_MPL_AUX_APPLY2(Predicate,State,Iterator)::type not_last;
typedef typename iter_fold_if_step_impl<
BOOST_MPL_AUX_BOOL_VALUE_WKND(not_last)::value
BOOST_MPL_AUX_MSVC_VALUE_WKND(not_last)::value
>::template result_< Iterator,State,ForwardOp,next<Iterator> > impl_;
typedef typename impl_::state state;
@@ -116,7 +117,7 @@ struct iter_fold_if_backward_step
{
typedef typename BOOST_MPL_AUX_APPLY2(Predicate,State,Iterator)::type not_last;
typedef typename iter_fold_if_step_impl<
BOOST_MPL_AUX_BOOL_VALUE_WKND(not_last)::value
BOOST_MPL_AUX_MSVC_VALUE_WKND(not_last)::value
>::template result_< Iterator,State,BackwardOp,identity<Iterator> > impl_;
typedef typename impl_::state state;