diff --git a/include/boost/lambda/bind.hpp b/include/boost/lambda/bind.hpp index e8a92d4..7f4e92a 100644 --- a/include/boost/lambda/bind.hpp +++ b/include/boost/lambda/bind.hpp @@ -21,7 +21,4 @@ #include "boost/lambda/detail/bind_functions.hpp" -//#include "bind/make_void.hpp" -//#include "bind/ret.hpp" - #endif diff --git a/include/boost/lambda/core.hpp b/include/boost/lambda/core.hpp index e330259..a6424e8 100644 --- a/include/boost/lambda/core.hpp +++ b/include/boost/lambda/core.hpp @@ -36,6 +36,7 @@ using ::boost::tuples::null_type; #include "boost/lambda/detail/lambda_traits.hpp" + #include "boost/lambda/detail/function_adaptors.hpp" #include "boost/lambda/detail/return_type_traits.hpp" diff --git a/include/boost/lambda/exceptions.hpp b/include/boost/lambda/exceptions.hpp index f39cb21..c99b92c 100644 --- a/include/boost/lambda/exceptions.hpp +++ b/include/boost/lambda/exceptions.hpp @@ -309,7 +309,6 @@ struct return_or_throw_phase2 { }; -template struct foo {}; // the non-void case. Try part returns a value, so catch parts must // return a value of the same type or throw template @@ -882,6 +881,7 @@ class lambda_functor_base< Args > { +public: Args args; public: explicit lambda_functor_base(const Args& a) : args(a) {} @@ -905,6 +905,7 @@ public: template class lambda_functor_base > >, Args> { +public: Args args; public: explicit lambda_functor_base(const Args& a) : args(a) {} @@ -928,6 +929,7 @@ public: // 2 catch types case template class lambda_functor_base, detail::catch_block > > >, Args> { +public: Args args; public: explicit lambda_functor_base(const Args& a) : args(a) {} @@ -955,6 +957,7 @@ public: template class lambda_functor_base,detail::catch_all_block> > >, Args> { +public: Args args; public: explicit lambda_functor_base(const Args& a) : args(a) {} @@ -983,6 +986,7 @@ public: // 3 catch types case template class lambda_functor_base, detail::catch_block, detail::catch_block > > >, Args> { +public: Args args; public: explicit lambda_functor_base(const Args& a) : args(a) {} @@ -1018,6 +1022,7 @@ public: template class lambda_functor_base, detail::catch_block,detail::catch_all_block> > >, Args> { +public: Args args; public: explicit lambda_functor_base(const Args& a) : args(a) {} @@ -1052,6 +1057,7 @@ public: // 4 catch types case template class lambda_functor_base, detail::catch_block, detail::catch_block, detail::catch_block > > >, Args> { +public: Args args; public: explicit lambda_functor_base(const Args& a) : args(a) {} @@ -1091,6 +1097,7 @@ public: template class lambda_functor_base, detail::catch_block, detail::catch_block,detail::catch_all_block> > >, Args> { +public: Args args; public: explicit lambda_functor_base(const Args& a) : args(a) {} @@ -1131,6 +1138,7 @@ public: // 5 catch types case template class lambda_functor_base, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block > > >, Args> { +public: Args args; public: explicit lambda_functor_base(const Args& a) : args(a) {} @@ -1176,6 +1184,7 @@ public: template class lambda_functor_base, detail::catch_block, detail::catch_block, detail::catch_block,detail::catch_all_block> > >, Args> { +public: Args args; public: explicit lambda_functor_base(const Args& a) : args(a) {} @@ -1222,6 +1231,7 @@ public: // 6 catch types case template class lambda_functor_base, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block > > >, Args> { +public: Args args; public: explicit lambda_functor_base(const Args& a) : args(a) {} @@ -1273,6 +1283,7 @@ public: template class lambda_functor_base, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block,detail::catch_all_block> > >, Args> { +public: Args args; public: explicit lambda_functor_base(const Args& a) : args(a) {} @@ -1326,6 +1337,7 @@ public: template class lambda_functor_base, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block > > >, Args> { +public: Args args; public: explicit lambda_functor_base(const Args& a) : args(a) {} @@ -1384,6 +1396,7 @@ public: template class lambda_functor_base, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_all_block> > >, Args> { +public: Args args; public: explicit lambda_functor_base(const Args& a) : args(a) {} @@ -1444,6 +1457,7 @@ template class lambda_functor_base, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block > > >, Args> { +public: Args args; public: explicit lambda_functor_base(const Args& a) : args(a) {} @@ -1509,6 +1523,7 @@ template class lambda_functor_base, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block,detail::catch_all_block> > >, Args> { +public: Args args; public: explicit lambda_functor_base(const Args& a) : args(a) {} @@ -1575,6 +1590,7 @@ template class lambda_functor_base, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block > > >, Args> { +public: Args args; public: explicit lambda_functor_base(const Args& a) : args(a) {} @@ -1646,6 +1662,7 @@ template class lambda_functor_base, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block, detail::catch_block,detail::catch_all_block> > >, Args> { +public: Args args; public: explicit lambda_functor_base(const Args& a) : args(a) {}