fixes for VC7.0 by Daniel Wallin

[SVN r22981]
This commit is contained in:
Joaquín M. López Muñoz
2004-05-31 09:38:19 +00:00
parent d810555be9
commit cc79cde785
3 changed files with 11 additions and 7 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/if.hpp>
#include <boost/mpl/apply_if.hpp>
#include <boost/type_traits/is_base_and_derived.hpp>
#include <boost/type_traits/is_same.hpp>
#include <cstddef>
@@ -147,11 +147,11 @@ struct compliant_allocator_rebind_to
template<typename Allocator,typename Type>
struct rebind_to:
mpl::if_c<
mpl::apply_if_c<
is_partial_std_allocator<Allocator>::value,
partial_std_allocator_rebind_to<Allocator,Type>,
compliant_allocator_rebind_to<Allocator,Type>
>::type
>
{
};

View File

@@ -46,9 +46,11 @@ struct index_applier
struct index_applier
{
template<typename IndexSpecifierIterator,typename Super>
struct apply:IndexSpecifierIterator::type::
BOOST_NESTED_TEMPLATE index_class<Super>
struct apply
{
typedef typename IndexSpecifierIterator::type index_specifier;
typedef typename index_specifier::
BOOST_NESTED_TEMPLATE index_class<Super>::type type;
};
};
#endif

View File

@@ -45,9 +45,11 @@ struct index_node_applier
struct index_node_applier
{
template<typename IndexSpecifierIterator,typename Super>
struct apply:IndexSpecifierIterator::type::
BOOST_NESTED_TEMPLATE node_class<Super>
struct apply
{
typedef typename IndexSpecifierIterator::type index_specifier;
typedef typename index_specifier::
BOOST_NESTED_TEMPLATE node_class<Super>::type type;
};
};
#endif