update boost
This commit is contained in:
@@ -418,8 +418,8 @@ namespace boost { namespace phoenix
|
||||
);
|
||||
}
|
||||
|
||||
TryCatch const & try_catch;
|
||||
Capture const & capture;
|
||||
TryCatch try_catch;
|
||||
Capture capture;
|
||||
};
|
||||
|
||||
template <typename TryCatch, typename Exception>
|
||||
@@ -446,7 +446,7 @@ namespace boost { namespace phoenix
|
||||
);
|
||||
}
|
||||
|
||||
TryCatch const & try_catch;
|
||||
TryCatch try_catch;
|
||||
};
|
||||
|
||||
template <typename TryCatch>
|
||||
@@ -472,7 +472,7 @@ namespace boost { namespace phoenix
|
||||
);
|
||||
}
|
||||
|
||||
TryCatch const & try_catch;
|
||||
TryCatch try_catch;
|
||||
};
|
||||
|
||||
template <
|
||||
@@ -484,7 +484,6 @@ namespace boost { namespace phoenix
|
||||
struct try_catch_actor
|
||||
: actor<Expr>
|
||||
{
|
||||
typedef try_catch_actor<Expr> that_type;
|
||||
typedef actor<Expr> base_type;
|
||||
|
||||
try_catch_actor(base_type const& expr)
|
||||
@@ -494,22 +493,27 @@ namespace boost { namespace phoenix
|
||||
}
|
||||
|
||||
template <typename Exception>
|
||||
catch_gen<that_type, Exception> const
|
||||
catch_gen<base_type, Exception> const
|
||||
catch_() const
|
||||
{
|
||||
return catch_gen<that_type, Exception>(*this);
|
||||
return catch_gen<base_type, Exception>(*this);
|
||||
}
|
||||
|
||||
template <typename Exception, typename Capture>
|
||||
catch_gen<that_type, Exception, Capture> const
|
||||
catch_gen<base_type, Exception, Capture> const
|
||||
catch_(Capture const &expr) const
|
||||
{
|
||||
return catch_gen<that_type, Exception, Capture>(*this, expr);
|
||||
return catch_gen<base_type, Exception, Capture>(*this, expr);
|
||||
}
|
||||
|
||||
catch_all_gen<that_type> const catch_all;
|
||||
catch_all_gen<base_type> const catch_all;
|
||||
};
|
||||
|
||||
template <typename Expr>
|
||||
struct is_actor<try_catch_actor<Expr> >
|
||||
: mpl::true_
|
||||
{};
|
||||
|
||||
struct try_gen
|
||||
{
|
||||
template <typename Try>
|
||||
|
||||
Reference in New Issue
Block a user