dlambda.hpp 927 B

12345678910111213141516171819202122232425262728293031323334
  1. // (C) Copyright Edward Diener 2012,2013
  2. // Use, modification and distribution are subject to the Boost Software License,
  3. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt).
  5. #if !defined(BOOST_TTI_DETAIL_LAMBDA_HPP)
  6. #define BOOST_TTI_DETAIL_LAMBDA_HPP
  7. #include <boost/mpl/or.hpp>
  8. #include <boost/tti/detail/dmetafunc.hpp>
  9. #include <boost/tti/detail/dplaceholder.hpp>
  10. #include <boost/tti/gen/namespace_gen.hpp>
  11. namespace boost
  12. {
  13. namespace tti
  14. {
  15. namespace detail
  16. {
  17. template <class BOOST_TTI_DETAIL_TP_T>
  18. struct is_lambda_expression :
  19. boost::mpl::or_
  20. <
  21. BOOST_TTI_NAMESPACE::detail::is_metafunction_class<BOOST_TTI_DETAIL_TP_T>,
  22. BOOST_TTI_NAMESPACE::detail::is_placeholder_expression<BOOST_TTI_DETAIL_TP_T>
  23. >
  24. {
  25. };
  26. }
  27. }
  28. }
  29. #endif // BOOST_TTI_DETAIL_LAMBDA_HPP