forked from boostorg/iterator
Moved to much cleaner system of using BOOST_TT_BROKEN_COMPILER_SPEC
for handling vc6/7 deficiencies with iterator_traits. Fixed a bug in iterator_facade which was causing incomplete types to be passed through is_convertible. Reinstated libs/utility/iterator_traits_test.cpp [SVN r19840]
This commit is contained in:
@ -16,6 +16,8 @@
|
||||
#include <boost/iterator/iterator_adaptor.hpp>
|
||||
#include <boost/pending/iterator_tests.hpp>
|
||||
|
||||
# include <boost/type_traits/broken_compiler_spec.hpp>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <vector>
|
||||
#include <deque>
|
||||
@ -28,6 +30,12 @@ struct my_iterator_tag : public std::random_access_iterator_tag { };
|
||||
|
||||
using boost::dummyT;
|
||||
|
||||
#if BOOST_WORKAROUND(BOOST_MSVC, == 1300)
|
||||
typedef std::pair<int,int> intpair;
|
||||
BOOST_TT_BROKEN_COMPILER_SPEC(intpair)
|
||||
BOOST_TT_BROKEN_COMPILER_SPEC(dummyT)
|
||||
#endif
|
||||
|
||||
|
||||
struct mult_functor {
|
||||
typedef int result_type;
|
||||
|
Reference in New Issue
Block a user