Warning, file /include/boost/python/other.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 #ifndef BOOST_PYTHON_OTHER_HPP
0002 # define BOOST_PYTHON_OTHER_HPP
0003
0004 # include <boost/python/detail/prefix.hpp>
0005
0006
0007
0008
0009
0010 # include <boost/config.hpp>
0011
0012 namespace boost { namespace python {
0013
0014 template<class T> struct other
0015 {
0016 typedef T type;
0017 };
0018
0019 namespace detail
0020 {
0021 template<typename T>
0022 class is_other
0023 {
0024 public:
0025 BOOST_STATIC_CONSTANT(bool, value = false);
0026 };
0027
0028 template<typename T>
0029 class is_other<other<T> >
0030 {
0031 public:
0032 BOOST_STATIC_CONSTANT(bool, value = true);
0033 };
0034
0035 template<typename T>
0036 class unwrap_other
0037 {
0038 public:
0039 typedef T type;
0040 };
0041
0042 template<typename T>
0043 class unwrap_other<other<T> >
0044 {
0045 public:
0046 typedef T type;
0047 };
0048 }
0049
0050 }}
0051
0052 #endif