/Src/Dependencies/Boost/boost/function_types/member_object_pointer.hpp

http://hadesmem.googlecode.com/ · C++ Header · 34 lines · 20 code · 9 blank · 5 comment · 0 complexity · 35482b2954e0eb0efef263c899f62c8b MD5 · raw file

  1. // (C) Copyright Tobias Schwinger
  2. //
  3. // Use modification and distribution are subject to the boost Software License,
  4. // Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt).
  5. //------------------------------------------------------------------------------
  6. #ifndef BOOST_FT_MEMBER_OBJECT_POINTER_HPP_INCLUDED
  7. #define BOOST_FT_MEMBER_OBJECT_POINTER_HPP_INCLUDED
  8. #include <boost/mpl/aux_/lambda_support.hpp>
  9. #include <boost/type_traits/detail/template_arity_spec.hpp>
  10. #include <boost/function_types/detail/synthesize.hpp>
  11. #include <boost/function_types/detail/to_sequence.hpp>
  12. namespace boost
  13. {
  14. namespace function_types
  15. {
  16. template<typename Types>
  17. struct member_object_pointer
  18. : detail::synthesize_mop< typename detail::to_sequence<Types>::type >
  19. {
  20. BOOST_MPL_AUX_LAMBDA_SUPPORT(1,member_object_pointer,(Types))
  21. };
  22. }
  23. BOOST_TT_AUX_TEMPLATE_ARITY_SPEC(1,function_types::member_object_pointer)
  24. }
  25. #endif