merge new MPL version from 'mplbook' branch

[SVN r24874]
This commit is contained in:
Aleksey Gurtovoy
2004-09-02 15:41:37 +00:00
parent badda17c31
commit b2deb5ac68
3 changed files with 5 additions and 5 deletions

View File

@@ -12,7 +12,7 @@
#include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */
#include <boost/detail/workaround.hpp>
#include <boost/mpl/aux_/msvc_never_true.hpp>
#include <boost/mpl/apply_if.hpp>
#include <boost/mpl/eval_if.hpp>
#include <boost/type_traits/is_same.hpp>
#include <cstddef>
#include <memory>
@@ -147,7 +147,7 @@ struct compliant_allocator_rebind_to
template<typename Allocator,typename Type>
struct rebind_to:
mpl::apply_if_c<
mpl::eval_if_c<
is_partial_std_allocator<Allocator>::value,
partial_std_allocator_rebind_to<Allocator,Type>,
compliant_allocator_rebind_to<Allocator,Type>

View File

@@ -144,7 +144,7 @@ struct iterator_traits<T const*>
# endif
# include <boost/mpl/if.hpp>
# include <boost/mpl/aux_/has_xxx.hpp>
# include <boost/mpl/has_xxx.hpp>
# include <cstddef>
// should be the last #include

View File

@@ -10,7 +10,7 @@
# include <boost/detail/is_incrementable.hpp>
# include <boost/iterator/iterator_traits.hpp>
# include <boost/type_traits/remove_cv.hpp>
# include <boost/mpl/apply_if.hpp>
# include <boost/mpl/eval_if.hpp>
# include <boost/pointee.hpp>
namespace boost {
@@ -26,7 +26,7 @@ namespace detail
template <class P>
struct indirect_reference
: mpl::apply_if<
: mpl::eval_if<
detail::is_incrementable<P>
, iterator_reference<P>
, detail::smart_ptr_reference<P>