member_object_pointer.hpp 813 B

1234567891011121314151617181920212223242526272829303132
  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/function_types/detail/synthesize.hpp>
  10. #include <boost/function_types/detail/to_sequence.hpp>
  11. namespace boost
  12. {
  13. namespace function_types
  14. {
  15. template<typename Types>
  16. struct member_object_pointer
  17. : detail::synthesize_mop< typename detail::to_sequence<Types>::type >
  18. {
  19. BOOST_MPL_AUX_LAMBDA_SUPPORT(1,member_object_pointer,(Types))
  20. };
  21. }
  22. }
  23. #endif