PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 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).
 6
 7//------------------------------------------------------------------------------
 8
 9#ifndef BOOST_FT_MEMBER_OBJECT_POINTER_HPP_INCLUDED
10#define BOOST_FT_MEMBER_OBJECT_POINTER_HPP_INCLUDED
11
12#include <boost/mpl/aux_/lambda_support.hpp>
13#include <boost/type_traits/detail/template_arity_spec.hpp>
14
15#include <boost/function_types/detail/synthesize.hpp>
16#include <boost/function_types/detail/to_sequence.hpp>
17
18namespace boost 
19{ 
20  namespace function_types 
21  {
22    template<typename Types> 
23    struct member_object_pointer
24      : detail::synthesize_mop< typename detail::to_sequence<Types>::type >
25    { 
26      BOOST_MPL_AUX_LAMBDA_SUPPORT(1,member_object_pointer,(Types))
27    };
28  } 
29  BOOST_TT_AUX_TEMPLATE_ARITY_SPEC(1,function_types::member_object_pointer)
30} 
31
32#endif
33
34