fix doc example typo
[boost.git] / boost / function_types / member_object_pointer.hpp
blobd0aa3f341830c9b9894369a65f9d0ddf98b126c8
2 // (C) Copyright Tobias Schwinger
3 //
4 // Use modification and distribution are subject to the boost Software License,
5 // Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt).
7 //------------------------------------------------------------------------------
9 #ifndef BOOST_FT_MEMBER_OBJECT_POINTER_HPP_INCLUDED
10 #define BOOST_FT_MEMBER_OBJECT_POINTER_HPP_INCLUDED
12 #include <boost/mpl/aux_/lambda_support.hpp>
13 #include <boost/type_traits/detail/template_arity_spec.hpp>
15 #include <boost/function_types/detail/synthesize.hpp>
16 #include <boost/function_types/detail/to_sequence.hpp>
18 namespace boost
20 namespace function_types
22 template<typename Types>
23 struct member_object_pointer
24 : detail::synthesize_mop< typename detail::to_sequence<Types>::type >
26 BOOST_MPL_AUX_LAMBDA_SUPPORT(1,member_object_pointer,(Types))
29 BOOST_TT_AUX_TEMPLATE_ARITY_SPEC(1,function_types::member_object_pointer)
32 #endif