2525
2626# include < boost/mpl/size.hpp>
2727# include < boost/mpl/for_each.hpp>
28- # include < boost/mpl/bool_c .hpp>
29- # include < boost/mpl/logical/ not.hpp>
30- # include < boost/mpl/logical/ or.hpp>
28+ # include < boost/mpl/bool .hpp>
29+ # include < boost/mpl/not.hpp>
30+ # include < boost/mpl/or.hpp>
3131
3232# include < boost/python/object/select_holder.hpp>
3333# include < boost/python/object/class_wrapper.hpp>
@@ -79,20 +79,20 @@ namespace detail
7979 struct operator_ ;
8080
8181 // Register to_python converters for a class T. The first argument
82- // will be mpl::true_c unless noncopyable was specified as a
82+ // will be mpl::true_ unless noncopyable was specified as a
8383 // class_<...> template parameter. The 2nd argument is a pointer to
8484 // the type of holder that must be created. The 3rd argument is a
8585 // reference to the Python type object to be created.
8686 template <class T , class SelectHolder >
87- inline void register_class_to_python (mpl::true_c copyable, SelectHolder selector, T* = 0 )
87+ inline void register_class_to_python (mpl::true_ copyable, SelectHolder selector, T* = 0 )
8888 {
8989 typedef typename SelectHolder::type holder;
9090 force_instantiate (objects::class_cref_wrapper<T, objects::make_instance<T,holder> >());
9191 SelectHolder::register_ ();
9292 }
9393
9494 template <class T , class SelectHolder >
95- inline void register_class_to_python (mpl::false_c copyable, SelectHolder selector, T* = 0 )
95+ inline void register_class_to_python (mpl::false_ copyable, SelectHolder selector, T* = 0 )
9696 {
9797 SelectHolder::register_ ();
9898 }
@@ -131,7 +131,7 @@ namespace detail
131131 static void
132132 must_be_derived_class_member (Default const &)
133133 {
134- typedef typename assertion<mpl::logical_not <is_same<Default,Fn> > >::failed test0;
134+ typedef typename assertion<mpl::not_ <is_same<Default,Fn> > >::failed test0;
135135 typedef typename assertion<is_polymorphic<T> >::failed test1;
136136 typedef typename assertion<is_member_function_pointer<Fn> >::failed test2;
137137 not_a_derived_class_member<Default>(Fn ());
@@ -398,7 +398,7 @@ class class_ : public objects::class_base
398398 , helper.policies (), helper.keywords ())
399399 , helper.doc ());
400400
401- this ->def_default (name, fn, helper, mpl::bool_c <Helper::has_default_implementation>());
401+ this ->def_default (name, fn, helper, mpl::bool_ <Helper::has_default_implementation>());
402402 }
403403
404404 //
@@ -411,7 +411,7 @@ class class_ : public objects::class_base
411411 char const * name
412412 , Fn fn
413413 , Helper const & helper
414- , mpl::bool_c <true >)
414+ , mpl::bool_ <true >)
415415 {
416416 detail::error::virtual_function_default<T,Fn>::must_be_derived_class_member (
417417 helper.default_implementation ());
@@ -424,7 +424,7 @@ class class_ : public objects::class_base
424424 }
425425
426426 template <class Fn , class Helper >
427- inline void def_default (char const *, Fn, Helper const &, mpl::bool_c <false >)
427+ inline void def_default (char const *, Fn, Helper const &, mpl::bool_ <false >)
428428 { }
429429
430430 //
@@ -474,7 +474,7 @@ inline void class_<T,X1,X2,X3>::register_() const
474474 objects::register_class_from_python<T,bases>();
475475
476476 detail::register_class_to_python<T>(
477- mpl::bool_c <is_copyable>()
477+ mpl::bool_ <is_copyable>()
478478# if BOOST_WORKAROUND(__MWERKS__, <= 0x2407)
479479 , holder_selector::execute ((held_type*)0 )
480480# elif BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
@@ -519,7 +519,7 @@ namespace detail
519519{
520520 template <class T1 , class T2 , class T3 >
521521 struct has_noncopyable
522- : mpl::logical_or <
522+ : mpl::or_ <
523523 is_same<T1,noncopyable>
524524 , is_same<T2,noncopyable>
525525 , is_same<T3,noncopyable>
@@ -530,7 +530,7 @@ namespace detail
530530 template <class T , class Prev >
531531 struct select_held_type
532532 : mpl::if_<
533- mpl::logical_or <
533+ mpl::or_ <
534534 specifies_bases<T>
535535 , is_same<T,noncopyable>
536536 >
0 commit comments