updates for MPL renaming; restore some portability.

[SVN r1059]
This commit is contained in:
Dave Abrahams
2003-02-28 01:27:15 +00:00
parent 2d6d02dddf
commit 5f522787ca
6 changed files with 112 additions and 84 deletions
+4 -4
View File
@@ -9,8 +9,8 @@
#ifndef BOOST_INTEROPERABLE_23022003THW_HPP
#define BOOST_INTEROPERABLE_23022003THW_HPP
#include <boost/mpl/bool_c.hpp>
#include <boost/mpl/logical/or.hpp>
#include <boost/mpl/bool.hpp>
#include <boost/mpl/or.hpp>
#include <boost/type_traits/is_convertible.hpp>
@@ -36,9 +36,9 @@ namespace boost
template <typename A, typename B>
struct is_interoperable
#if defined(BOOST_NO_IS_CONVERTIBLE)
: mpl::true_c
: mpl::true_
#else
: mpl::logical_or<
: mpl::or_<
is_convertible< A, B >
, is_convertible< B, A > >
#endif