My Project
is_member_pointer.hpp
Go to the documentation of this file.
1 
28 #ifndef BSL_IS_MEMBER_POINTER_HPP
29 #define BSL_IS_MEMBER_POINTER_HPP
30 
31 #include "true_type.hpp"
32 #include "false_type.hpp"
33 
34 namespace bsl
35 {
47  template<typename T>
48  class is_member_pointer final : public false_type
49  {};
50 
52 
53  template<typename T, typename U>
54  class is_member_pointer<T U::*> final : public true_type
55  {};
56 
57  template<typename T, typename U>
58  class is_member_pointer<T U::*const> final : public true_type
59  {};
60 
62 }
63 
64 #endif
If the provided type is a member pointer type (taking into account const qualifications),...
Definition: is_member_pointer.hpp:48
If the provided type is an array type (taking into account const qualifications), provides the member...
Definition: integral_constant.hpp:45