My Project
is_member_function_pointer.hpp
Go to the documentation of this file.
1 
28 #ifndef BSL_IS_MEMBER_FUNCTION_POINTER_HPP
29 #define BSL_IS_MEMBER_FUNCTION_POINTER_HPP
30 
31 #include "bool_constant.hpp"
32 #include "is_function.hpp"
33 #include "false_type.hpp"
34 
35 namespace bsl
36 {
48  template<typename T>
50  {};
51 
53 
54  template<typename T, typename U>
55  class is_member_function_pointer<T U::*> final : // --
56  public bool_constant<is_function<T>::value>
57  {};
58 
59  template<typename T, typename U>
60  class is_member_function_pointer<T U::*const> final : // --
61  public bool_constant<is_function<T>::value>
62  {};
63 
65 }
66 
67 #endif
If the provided type is an array type (taking into account const qualifications), provides the member...
Definition: integral_constant.hpp:45
If the provided type is a member function pointer type (taking into account const qualifications),...
Definition: is_member_function_pointer.hpp:49