mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-31 05:17:20 +02:00
vc6 linker workarounds
[SVN r21896]
This commit is contained in:
@ -77,6 +77,7 @@ int main()
|
|||||||
boost::function_requires< boost_concepts::ReadableIteratorConcept<Iter> >();
|
boost::function_requires< boost_concepts::ReadableIteratorConcept<Iter> >();
|
||||||
boost::function_requires< boost_concepts::SinglePassIteratorConcept<Iter> >();
|
boost::function_requires< boost_concepts::SinglePassIteratorConcept<Iter> >();
|
||||||
}
|
}
|
||||||
|
#if !BOOST_WORKAROUND(BOOST_MSVC, == 1200) // Causes Internal Error in linker.
|
||||||
{
|
{
|
||||||
typedef boost::iterator_archetype<
|
typedef boost::iterator_archetype<
|
||||||
dummyT
|
dummyT
|
||||||
@ -84,12 +85,14 @@ int main()
|
|||||||
, boost::single_pass_traversal_tag
|
, boost::single_pass_traversal_tag
|
||||||
> BaseIter;
|
> BaseIter;
|
||||||
typedef boost::filter_iterator<one_or_four, BaseIter> Iter;
|
typedef boost::filter_iterator<one_or_four, BaseIter> Iter;
|
||||||
|
|
||||||
boost::function_requires< boost::InputIteratorConcept<Iter> >();
|
boost::function_requires< boost::InputIteratorConcept<Iter> >();
|
||||||
boost::function_requires< boost::OutputIteratorConcept<Iter, dummyT> >();
|
boost::function_requires< boost::OutputIteratorConcept<Iter, dummyT> >();
|
||||||
boost::function_requires< boost_concepts::ReadableIteratorConcept<Iter> >();
|
boost::function_requires< boost_concepts::ReadableIteratorConcept<Iter> >();
|
||||||
boost::function_requires< boost_concepts::WritableIteratorConcept<Iter> >();
|
boost::function_requires< boost_concepts::WritableIteratorConcept<Iter> >();
|
||||||
boost::function_requires< boost_concepts::SinglePassIteratorConcept<Iter> >();
|
boost::function_requires< boost_concepts::SinglePassIteratorConcept<Iter> >();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
typedef boost::iterator_archetype<
|
typedef boost::iterator_archetype<
|
||||||
const dummyT
|
const dummyT
|
||||||
@ -101,6 +104,8 @@ int main()
|
|||||||
boost::function_requires< boost_concepts::ReadableIteratorConcept<Iter> >();
|
boost::function_requires< boost_concepts::ReadableIteratorConcept<Iter> >();
|
||||||
boost::function_requires< boost_concepts::ForwardTraversalConcept<Iter> >();
|
boost::function_requires< boost_concepts::ForwardTraversalConcept<Iter> >();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !BOOST_WORKAROUND(BOOST_MSVC, == 1200) // Causes Internal Error in linker.
|
||||||
{
|
{
|
||||||
typedef boost::iterator_archetype<
|
typedef boost::iterator_archetype<
|
||||||
dummyT
|
dummyT
|
||||||
@ -134,6 +139,7 @@ int main()
|
|||||||
boost::function_requires< boost_concepts::WritableLvalueIteratorConcept<Iter> >();
|
boost::function_requires< boost_concepts::WritableLvalueIteratorConcept<Iter> >();
|
||||||
boost::function_requires< boost_concepts::ForwardTraversalConcept<Iter> >();
|
boost::function_requires< boost_concepts::ForwardTraversalConcept<Iter> >();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Run-time tests
|
// Run-time tests
|
||||||
|
|
||||||
|
@ -66,6 +66,7 @@ int main()
|
|||||||
boost::function_requires< boost_concepts::BidirectionalTraversalConcept<Iter> >();
|
boost::function_requires< boost_concepts::BidirectionalTraversalConcept<Iter> >();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#if !BOOST_WORKAROUND(BOOST_MSVC, == 1200) // Causes Internal Error in linker.
|
||||||
{
|
{
|
||||||
typedef boost::iterator_archetype<
|
typedef boost::iterator_archetype<
|
||||||
dummyT
|
dummyT
|
||||||
@ -100,6 +101,7 @@ int main()
|
|||||||
boost::function_requires< boost_concepts::WritableLvalueIteratorConcept<Iter> >();
|
boost::function_requires< boost_concepts::WritableLvalueIteratorConcept<Iter> >();
|
||||||
boost::function_requires< boost_concepts::BidirectionalTraversalConcept<Iter> >();
|
boost::function_requires< boost_concepts::BidirectionalTraversalConcept<Iter> >();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Test reverse_iterator
|
// Test reverse_iterator
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user