1 | |
---|---|
2 | // (C) Copyright John Maddock 2005. |
3 | // Use, modification and distribution are subject to the Boost Software License, |
4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
5 | // http://www.boost.org/LICENSE_1_0.txt). |
6 | // |
7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. |
8 | |
9 | |
10 | #ifndef BOOST_TT_IS_MEMBER_OBJECT_POINTER_HPP_INCLUDED |
11 | #define BOOST_TT_IS_MEMBER_OBJECT_POINTER_HPP_INCLUDED |
12 | |
13 | #include <boost/type_traits/is_member_pointer.hpp> |
14 | #include <boost/type_traits/is_member_function_pointer.hpp> |
15 | |
16 | namespace boost { |
17 | |
18 | template <class T> struct is_member_object_pointer |
19 | : public integral_constant<bool, |
20 | ::boost::is_member_pointer<T>::value && !::boost::is_member_function_pointer<T>::value>{}; |
21 | |
22 | } // namespace boost |
23 | |
24 | #endif // BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED |
25 |