mirror of
https://github.com/boostorg/multi_index.git
synced 2026-02-18 14:12:31 +00:00
fixes for VC7.0 by Daniel Wallin
[SVN r22981]
This commit is contained in:
@@ -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
|
||||
>
|
||||
{
|
||||
};
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user