From 2e8c4eb8f3aa7010925430591371cdebd9c2ea63 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 6 Jul 2006 13:47:26 +0000 Subject: [PATCH] is_placeholder, is_bind_expression added. [SVN r34468] --- .../boost/lambda/detail/lambda_functors.hpp | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/include/boost/lambda/detail/lambda_functors.hpp b/include/boost/lambda/detail/lambda_functors.hpp index bab2ed6..0bdafab 100644 --- a/include/boost/lambda/detail/lambda_functors.hpp +++ b/include/boost/lambda/detail/lambda_functors.hpp @@ -207,6 +207,28 @@ public: } // namespace lambda } // namespace boost +// is_placeholder + +#include + +namespace boost +{ + +template<> struct is_placeholder< lambda::lambda_functor< lambda::placeholder > > +{ + enum _vt { value = 1 }; +}; + +template<> struct is_placeholder< lambda::lambda_functor< lambda::placeholder > > +{ + enum _vt { value = 2 }; +}; + +template<> struct is_placeholder< lambda::lambda_functor< lambda::placeholder > > +{ + enum _vt { value = 3 }; +}; + +} // namespace boost + #endif - -