PageRenderTime 19ms CodeModel.GetById 13ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://hadesmem.googlecode.com/
C++ Header | 34 lines | 22 code | 7 blank | 5 comment | 0 complexity | afca5f41b4d4237660a416f9c9243f67 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#ifndef BOOST_FT_IS_MEMBER_POINTER_HPP_INCLUDED
 9#define BOOST_FT_IS_MEMBER_POINTER_HPP_INCLUDED
10
11#include <boost/mpl/aux_/lambda_support.hpp>
12#include <boost/type_traits/detail/template_arity_spec.hpp>
13
14#include <boost/function_types/components.hpp>
15
16namespace boost 
17{ 
18  namespace function_types 
19  {
20    template< typename T, typename Tag = null_tag > 
21    struct is_member_pointer
22      : function_types::represents
23        < function_types::components<T>
24        , function_types::tag<Tag ,detail::member_pointer_tag> 
25        >
26    {
27      BOOST_MPL_AUX_LAMBDA_SUPPORT(2,is_member_pointer,(T,Tag))
28    };
29  } 
30  BOOST_TT_AUX_TEMPLATE_ARITY_SPEC(2,function_types::is_member_pointer)
31} 
32
33#endif
34