summaryrefslogtreecommitdiff
path: root/boost/python/bases.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/python/bases.hpp')
-rw-r--r--boost/python/bases.hpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/boost/python/bases.hpp b/boost/python/bases.hpp
index 0bd7350e55..614d62232b 100644
--- a/boost/python/bases.hpp
+++ b/boost/python/bases.hpp
@@ -24,7 +24,6 @@ namespace boost { namespace python {
namespace detail
{
-# ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
template <class T> struct specifies_bases
: mpl::false_
{
@@ -35,23 +34,6 @@ namespace boost { namespace python {
: mpl::true_
{
};
-# else
- template < BOOST_PP_ENUM_PARAMS(BOOST_PYTHON_MAX_BASES, class Base) >
- static char is_bases_helper(bases< BOOST_PYTHON_BASE_PARAMS > const&);
-
- static char (& is_bases_helper(...) )[256];
-
- template <class T>
- struct specifies_bases
- {
- private:
- static typename add_reference<T>::type make();
- BOOST_STATIC_CONSTANT(bool, non_ref = !is_reference<T>::value);
- public:
- BOOST_STATIC_CONSTANT(bool, value = non_ref & (sizeof(is_bases_helper(make())) == 1));
- typedef mpl::bool_<value> type;
- };
-# endif
template <class T, class Prev = bases<> >
struct select_bases
: mpl::if_<