member_function_pointer.hpp 854 B

12345678910111213141516171819202122232425262728293031
  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_FUNCTION_POINTER_HPP_INCLUDED
  7. #define BOOST_FT_MEMBER_FUNCTION_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, typename Tag = null_tag>
  16. struct member_function_pointer
  17. : detail::synthesize_mfp< typename detail::to_sequence<Types>::type, Tag >
  18. {
  19. BOOST_MPL_AUX_LAMBDA_SUPPORT(2,member_function_pointer,(Types,Tag))
  20. };
  21. }
  22. }
  23. #endif