mirror of
https://github.com/boostorg/iterator.git
synced 2025-05-09 23:23:54 +00:00
shared_container_iterator now uses std::shared_ptr to store the reference to the container. boost::shared_ptr is still supported and is wrapped into std::shared_ptr on construction, so there is overhead due to allocation of std::shared_ptr state. Going forward, std::shared_ptr is expected to be the primary use case. As a bonus, this eliminates the dependency on Boost.SmartPtr. Moved shared_container_iterator.hpp into the iterator directory and left a forwarding header for backward compatibility.
79 lines
3.0 KiB
Plaintext
79 lines
3.0 KiB
Plaintext
# Copyright David Abrahams 2003. Distributed under the Boost
|
|
# Software License, Version 1.0. (See accompanying
|
|
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
import testing ;
|
|
|
|
project : requirements <library>/boost/iterator//boost_iterator ;
|
|
|
|
test-suite iterator
|
|
:
|
|
# These first two tests will run last, and are expected to fail
|
|
# for many less-capable compilers.
|
|
|
|
[ compile-fail interoperable_fail.cpp ]
|
|
# test uses expected success, so that we catch unrelated
|
|
# compilation problems.
|
|
[ run is_convertible_fail.cpp ]
|
|
|
|
[ run zip_iterator_test.cpp
|
|
: : :
|
|
# stlport's debug mode generates long symbols which overwhelm
|
|
# vc6
|
|
#<msvc-stlport><*><runtime-build>release
|
|
]
|
|
[ run zip_iterator_test2_std_tuple.cpp ]
|
|
[ run zip_iterator_test2_fusion_vector.cpp ]
|
|
[ run zip_iterator_test2_fusion_list.cpp ]
|
|
# [ run zip_iterator_test2_fusion_deque.cpp ] // See bug report for fusion https://svn.boost.org/trac/boost/ticket/11572
|
|
[ run zip_iterator_test_fusion.cpp : : : <library>/boost/assign//boost_assign ]
|
|
[ run zip_iterator_test_std_tuple.cpp : : : <library>/boost/assign//boost_assign ]
|
|
[ run zip_iterator_test_std_pair.cpp : : : <library>/boost/assign//boost_assign ]
|
|
|
|
[ run is_iterator.cpp ]
|
|
|
|
# These tests should work for just about everything.
|
|
[ compile is_lvalue_iterator.cpp ]
|
|
[ compile is_readable_iterator.cpp ]
|
|
[ compile pointee.cpp ]
|
|
|
|
[ run unit_tests.cpp ]
|
|
[ run concept_tests.cpp ]
|
|
[ run iterator_adaptor_cc.cpp ]
|
|
[ run iterator_adaptor_test.cpp ]
|
|
[ compile iterator_archetype_cc.cpp ]
|
|
[ compile-fail iter_archetype_default_ctor.cpp ]
|
|
[ compile-fail lvalue_concept_fail.cpp ]
|
|
[ run transform_iterator_test.cpp ]
|
|
[ run indirect_iterator_test.cpp ]
|
|
[ compile indirect_iter_member_types.cpp ]
|
|
[ run filter_iterator_test.cpp ]
|
|
[ run iterator_facade.cpp ]
|
|
[ run reverse_iterator_test.cpp ]
|
|
[ run counting_iterator_test.cpp ]
|
|
[ run interoperable.cpp ]
|
|
[ run iterator_traits_test.cpp ]
|
|
[ run permutation_iterator_test.cpp : : : # <stlport-iostream>on
|
|
]
|
|
[ run function_input_iterator_test.cpp ]
|
|
[ run function_output_iterator_test.cpp ]
|
|
[ compile-fail function_output_iterator_cf.cpp ]
|
|
[ compile-fail function_output_iterator_def_ctor_cf.cpp ]
|
|
|
|
[ run generator_iterator_test.cpp ]
|
|
|
|
[ run min_category.cpp ]
|
|
[ compile-fail min_category_compile_fail1.cpp ]
|
|
[ compile-fail min_category_compile_fail2.cpp ]
|
|
[ run minimum_category.cpp ]
|
|
[ compile-fail minimum_category_compile_fail.cpp ]
|
|
|
|
[ run next_prior_test.cpp ]
|
|
[ run advance_test.cpp : : : <library>/boost/container//boost_container ]
|
|
[ run distance_test.cpp : : : <library>/boost/container//boost_container ]
|
|
[ compile adl_test.cpp : <library>/boost/array//boost_array ]
|
|
[ compile range_distance_compat_test.cpp : <library>/boost/range//boost_range ]
|
|
|
|
[ run shared_iterator_test.cpp : : : <library>/boost/smart_ptr//boost_smart_ptr ]
|
|
;
|