mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-18 07:02:21 +02:00
Remove use of obsolete BOOST_TT_BROKEN_COMPILER_SPEC
[SVN r86250]
This commit is contained in:
committed by
Daniel James
parent
d8284fa602
commit
a803b5b42d
@ -25,7 +25,6 @@
|
||||
# include <boost/static_assert.hpp>
|
||||
# include <boost/concept_archetype.hpp> // for detail::dummy_constructor
|
||||
# include <boost/implicit_cast.hpp>
|
||||
# include <boost/type_traits/broken_compiler_spec.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
@ -41,8 +40,6 @@ struct dummyT {
|
||||
|
||||
}
|
||||
|
||||
BOOST_TT_BROKEN_COMPILER_SPEC(boost::dummyT)
|
||||
|
||||
namespace boost {
|
||||
|
||||
// Tests whether type Iterator satisfies the requirements for a
|
||||
|
@ -27,8 +27,6 @@ struct my_ptr {
|
||||
// typedef boost::no_traversal_tag iterator_category;
|
||||
};
|
||||
|
||||
BOOST_TT_BROKEN_COMPILER_SPEC(my_ptr)
|
||||
BOOST_TT_BROKEN_COMPILER_SPEC(zow)
|
||||
|
||||
// Borland 5.6.4 and earlier drop const all over the place, so this
|
||||
// test will fail in the lines marked with (**)
|
||||
|
@ -53,7 +53,6 @@ template <int I> struct see_val;
|
||||
struct my_iterator_tag : public std::random_access_iterator_tag { };
|
||||
|
||||
using boost::dummyT;
|
||||
BOOST_TT_BROKEN_COMPILER_SPEC(boost::shared_ptr<dummyT>)
|
||||
|
||||
typedef std::vector<int> storage;
|
||||
typedef std::vector<int*> pointer_ra_container;
|
||||
|
3
test/is_lvalue_iterator.cpp
Executable file → Normal file
3
test/is_lvalue_iterator.cpp
Executable file → Normal file
@ -20,7 +20,6 @@ struct v
|
||||
~v();
|
||||
};
|
||||
|
||||
BOOST_TT_BROKEN_COMPILER_SPEC(v)
|
||||
|
||||
struct value_iterator : boost::iterator<std::input_iterator_tag,v>
|
||||
{
|
||||
@ -83,8 +82,6 @@ struct constant_lvalue_iterator
|
||||
constant_lvalue_iterator operator++(int);
|
||||
};
|
||||
|
||||
BOOST_TT_BROKEN_COMPILER_SPEC(proxy_iterator<v>::proxy)
|
||||
BOOST_TT_BROKEN_COMPILER_SPEC(proxy_iterator<int>::proxy)
|
||||
|
||||
int main()
|
||||
{
|
||||
|
2
test/is_readable_iterator.cpp
Executable file → Normal file
2
test/is_readable_iterator.cpp
Executable file → Normal file
@ -20,7 +20,6 @@ struct v
|
||||
~v();
|
||||
};
|
||||
|
||||
BOOST_TT_BROKEN_COMPILER_SPEC(v)
|
||||
|
||||
struct value_iterator : boost::iterator<std::input_iterator_tag,v>
|
||||
{
|
||||
@ -71,7 +70,6 @@ struct proxy_iterator2 : boost::iterator<std::output_iterator_tag,v>
|
||||
proxy operator*() const;
|
||||
};
|
||||
|
||||
BOOST_TT_BROKEN_COMPILER_SPEC(proxy_iterator::proxy)
|
||||
|
||||
int main()
|
||||
{
|
||||
|
1
test/pointee.cpp
Executable file → Normal file
1
test/pointee.cpp
Executable file → Normal file
@ -35,7 +35,6 @@ struct X {
|
||||
template <class T> operator T&() const;
|
||||
};
|
||||
|
||||
BOOST_TT_BROKEN_COMPILER_SPEC(X)
|
||||
|
||||
int main()
|
||||
{
|
||||
|
@ -13,7 +13,6 @@
|
||||
|
||||
struct X { int a; };
|
||||
|
||||
BOOST_TT_BROKEN_COMPILER_SPEC(X)
|
||||
|
||||
struct Xiter : boost::iterator_adaptor<Xiter,X*>
|
||||
{
|
||||
|
Reference in New Issue
Block a user