mirror of
https://github.com/boostorg/iterator.git
synced 2025-06-28 13:31:03 +02:00
Compare commits
1 Commits
svn-branch
...
svn-branch
Author | SHA1 | Date | |
---|---|---|---|
5cb6289e31 |
1
doc/.cvsignore
Executable file
1
doc/.cvsignore
Executable file
@ -0,0 +1 @@
|
|||||||
|
GNUmakefile
|
0
doc/BidirectionalTraversal.rst
Normal file → Executable file
0
doc/BidirectionalTraversal.rst
Normal file → Executable file
0
doc/ForwardTraversal.rst
Normal file → Executable file
0
doc/ForwardTraversal.rst
Normal file → Executable file
0
doc/GNUmakefile
Normal file → Executable file
0
doc/GNUmakefile
Normal file → Executable file
0
doc/IncrementableIterator.rst
Normal file → Executable file
0
doc/IncrementableIterator.rst
Normal file → Executable file
0
doc/LvalueIterator.rst
Normal file → Executable file
0
doc/LvalueIterator.rst
Normal file → Executable file
0
doc/ReadableIterator.rst
Normal file → Executable file
0
doc/ReadableIterator.rst
Normal file → Executable file
0
doc/SinglePassIterator.rst
Normal file → Executable file
0
doc/SinglePassIterator.rst
Normal file → Executable file
0
doc/SwappableIterator.rst
Normal file → Executable file
0
doc/SwappableIterator.rst
Normal file → Executable file
0
doc/WritableIterator.rst
Normal file → Executable file
0
doc/WritableIterator.rst
Normal file → Executable file
0
doc/counting_iterator.pdf
Normal file → Executable file
0
doc/counting_iterator.pdf
Normal file → Executable file
0
doc/docutils.sty
Normal file → Executable file
0
doc/docutils.sty
Normal file → Executable file
0
doc/facade-and-adaptor.html
Normal file → Executable file
0
doc/facade-and-adaptor.html
Normal file → Executable file
0
doc/facade-and-adaptor.pdf
Normal file → Executable file
0
doc/facade-and-adaptor.pdf
Normal file → Executable file
0
doc/facade_iterator_category.rst
Normal file → Executable file
0
doc/facade_iterator_category.rst
Normal file → Executable file
0
doc/filter_iterator.pdf
Normal file → Executable file
0
doc/filter_iterator.pdf
Normal file → Executable file
0
doc/function_output_iterator.pdf
Normal file → Executable file
0
doc/function_output_iterator.pdf
Normal file → Executable file
4
doc/index.html
Normal file → Executable file
4
doc/index.html
Normal file → Executable file
@ -40,7 +40,7 @@ Lab</a>, <a class="reference external" href="http://www.styleadvisor.com">Zephyr
|
|||||||
<col class="field-body" />
|
<col class="field-body" />
|
||||||
<tbody valign="top">
|
<tbody valign="top">
|
||||||
<tr class="field"><th class="field-name">Abstract:</th><td class="field-body">The Boost Iterator Library contains two parts. The first
|
<tr class="field"><th class="field-name">Abstract:</th><td class="field-body">The Boost Iterator Library contains two parts. The first
|
||||||
is a system of <a class="reference external" href="http://www.boost.org/more/generic_programming.html#concept">concepts</a> which extend the C++ standard
|
is a system of <a class="reference external" href="../../../more/generic_programming.html#concept">concepts</a> which extend the C++ standard
|
||||||
iterator requirements. The second is a framework of
|
iterator requirements. The second is a framework of
|
||||||
components for building iterators based on these
|
components for building iterators based on these
|
||||||
extended concepts and includes several useful iterator
|
extended concepts and includes several useful iterator
|
||||||
@ -179,7 +179,7 @@ implement iterators, you probably wrote a <tt class="docutils literal"><span cla
|
|||||||
captures the core operations of your iterator. In the new library
|
captures the core operations of your iterator. In the new library
|
||||||
design, you'll move those same core operations into the body of the
|
design, you'll move those same core operations into the body of the
|
||||||
iterator class itself. If you were writing a family of iterators,
|
iterator class itself. If you were writing a family of iterators,
|
||||||
you probably wrote a <a class="reference external" href="http://www.boost.org/more/generic_programming.html#type_generator">type generator</a> to build the
|
you probably wrote a <a class="reference external" href="../../../more/generic_programming.html#type_generator">type generator</a> to build the
|
||||||
<tt class="docutils literal"><span class="pre">iterator_adaptor</span></tt> specialization you needed; in the new library
|
<tt class="docutils literal"><span class="pre">iterator_adaptor</span></tt> specialization you needed; in the new library
|
||||||
design you don't need a type generator (though may want to keep it
|
design you don't need a type generator (though may want to keep it
|
||||||
around as a compatibility aid for older code) because, due to the
|
around as a compatibility aid for older code) because, due to the
|
||||||
|
4
doc/index.rst
Normal file → Executable file
4
doc/index.rst
Normal file → Executable file
@ -43,7 +43,7 @@ __ ../../../index.htm
|
|||||||
The components of the Boost Iterator Library replace the
|
The components of the Boost Iterator Library replace the
|
||||||
older Boost Iterator Adaptor Library.
|
older Boost Iterator Adaptor Library.
|
||||||
|
|
||||||
.. _concepts: http://www.boost.org/more/generic_programming.html#concept
|
.. _concepts: ../../../more/generic_programming.html#concept
|
||||||
|
|
||||||
.. contents:: **Table of Contents**
|
.. contents:: **Table of Contents**
|
||||||
|
|
||||||
@ -271,7 +271,7 @@ over how your iterator works: you can add additional constructors,
|
|||||||
or even override the iterator functionality provided by the
|
or even override the iterator functionality provided by the
|
||||||
library.
|
library.
|
||||||
|
|
||||||
.. _`type generator`: http://www.boost.org/more/generic_programming.html#type_generator
|
.. _`type generator`: ../../../more/generic_programming.html#type_generator
|
||||||
|
|
||||||
If you're looking for the old ``projection_iterator`` component,
|
If you're looking for the old ``projection_iterator`` component,
|
||||||
its functionality has been merged into ``transform_iterator``: as
|
its functionality has been merged into ``transform_iterator``: as
|
||||||
|
0
doc/indirect_iterator.pdf
Normal file → Executable file
0
doc/indirect_iterator.pdf
Normal file → Executable file
0
doc/indirect_reference_ref.rst
Normal file → Executable file
0
doc/indirect_reference_ref.rst
Normal file → Executable file
0
doc/interoperability-revisited.rst
Normal file → Executable file
0
doc/interoperability-revisited.rst
Normal file → Executable file
0
doc/issues.rst
Normal file → Executable file
0
doc/issues.rst
Normal file → Executable file
0
doc/iterator_adaptor.pdf
Normal file → Executable file
0
doc/iterator_adaptor.pdf
Normal file → Executable file
0
doc/iterator_adaptor_tutorial.rst
Normal file → Executable file
0
doc/iterator_adaptor_tutorial.rst
Normal file → Executable file
0
doc/iterator_archetypes.html
Normal file → Executable file
0
doc/iterator_archetypes.html
Normal file → Executable file
0
doc/iterator_archetypes.pdf
Normal file → Executable file
0
doc/iterator_archetypes.pdf
Normal file → Executable file
0
doc/iterator_archetypes.rst
Normal file → Executable file
0
doc/iterator_archetypes.rst
Normal file → Executable file
0
doc/iterator_concepts.pdf
Normal file → Executable file
0
doc/iterator_concepts.pdf
Normal file → Executable file
0
doc/iterator_concepts.rst
Normal file → Executable file
0
doc/iterator_concepts.rst
Normal file → Executable file
@ -866,7 +866,7 @@ operator -(iterator_facade<Dr1,V1,TC1,R1,D1> const& lhs,
|
|||||||
<p>In this section we'll walk through the implementation of a few
|
<p>In this section we'll walk through the implementation of a few
|
||||||
iterators using <tt class="docutils literal"><span class="pre">iterator_facade</span></tt>, based around the simple
|
iterators using <tt class="docutils literal"><span class="pre">iterator_facade</span></tt>, based around the simple
|
||||||
example of a linked list of polymorphic objects. This example was
|
example of a linked list of polymorphic objects. This example was
|
||||||
inspired by a <a class="reference external" href="http://thread.gmane.org/gmane.comp.lib.boost.user/5100">posting</a> by Keith Macdonald on the <a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#users">Boost-Users</a>
|
inspired by a <a class="reference external" href="http://thread.gmane.org/gmane.comp.lib.boost.user/5100">posting</a> by Keith Macdonald on the <a class="reference external" href="../../../more/mailing_lists.htm#users">Boost-Users</a>
|
||||||
mailing list.</p>
|
mailing list.</p>
|
||||||
<div class="section" id="the-problem">
|
<div class="section" id="the-problem">
|
||||||
<h2><a class="toc-backref" href="#id32">The Problem</a></h2>
|
<h2><a class="toc-backref" href="#id32">The Problem</a></h2>
|
||||||
|
0
doc/iterator_facade.pdf
Normal file → Executable file
0
doc/iterator_facade.pdf
Normal file → Executable file
2
doc/iterator_facade_tutorial.rst
Normal file → Executable file
2
doc/iterator_facade_tutorial.rst
Normal file → Executable file
@ -8,7 +8,7 @@ example of a linked list of polymorphic objects. This example was
|
|||||||
inspired by a `posting`__ by Keith Macdonald on the `Boost-Users`_
|
inspired by a `posting`__ by Keith Macdonald on the `Boost-Users`_
|
||||||
mailing list.
|
mailing list.
|
||||||
|
|
||||||
.. _`Boost-Users`: http://www.boost.org/more/mailing_lists.htm#users
|
.. _`Boost-Users`: ../../../more/mailing_lists.htm#users
|
||||||
|
|
||||||
__ http://thread.gmane.org/gmane.comp.lib.boost.user/5100
|
__ http://thread.gmane.org/gmane.comp.lib.boost.user/5100
|
||||||
|
|
||||||
|
0
doc/iterator_traits.html
Normal file → Executable file
0
doc/iterator_traits.html
Normal file → Executable file
0
doc/iterator_traits.pdf
Normal file → Executable file
0
doc/iterator_traits.pdf
Normal file → Executable file
0
doc/iterator_traits.rst
Normal file → Executable file
0
doc/iterator_traits.rst
Normal file → Executable file
0
doc/make_counting_iterator.rst
Normal file → Executable file
0
doc/make_counting_iterator.rst
Normal file → Executable file
0
doc/make_filter_iterator.rst
Normal file → Executable file
0
doc/make_filter_iterator.rst
Normal file → Executable file
0
doc/make_transform_iterator.rst
Normal file → Executable file
0
doc/make_transform_iterator.rst
Normal file → Executable file
0
doc/make_zip_iterator.rst
Normal file → Executable file
0
doc/make_zip_iterator.rst
Normal file → Executable file
0
doc/new-iter-concepts.html
Normal file → Executable file
0
doc/new-iter-concepts.html
Normal file → Executable file
0
doc/new-iter-concepts.pdf
Normal file → Executable file
0
doc/new-iter-concepts.pdf
Normal file → Executable file
0
doc/permutation_iterator.pdf
Normal file → Executable file
0
doc/permutation_iterator.pdf
Normal file → Executable file
0
doc/pointee.html
Normal file → Executable file
0
doc/pointee.html
Normal file → Executable file
0
doc/pointee.pdf
Normal file → Executable file
0
doc/pointee.pdf
Normal file → Executable file
0
doc/pointee.rst
Normal file → Executable file
0
doc/pointee.rst
Normal file → Executable file
0
doc/pointee_ref.rst
Normal file → Executable file
0
doc/pointee_ref.rst
Normal file → Executable file
@ -7,7 +7,7 @@ example of a linked list of polymorphic objects. This example was
|
|||||||
inspired by a
|
inspired by a
|
||||||
[@http://thread.gmane.org/gmane.comp.lib.boost.user/5100 `posting`]
|
[@http://thread.gmane.org/gmane.comp.lib.boost.user/5100 `posting`]
|
||||||
by Keith Macdonald on the
|
by Keith Macdonald on the
|
||||||
[@http://www.boost.org/more/mailing_lists.htm#users `Boost-Users`]
|
[@../../../more/mailing_lists.htm#users `Boost-Users`]
|
||||||
mailing list.
|
mailing list.
|
||||||
|
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
[section:intro Introduction]
|
[section:intro Introduction]
|
||||||
|
|
||||||
[def _concepts_ [@http://www.boost.org/more/generic_programming.html#concept concepts]]
|
[def _concepts_ [@../../more/generic_programming.html#concept concepts]]
|
||||||
|
|
||||||
The Boost Iterator Library contains two parts. The first
|
The Boost Iterator Library contains two parts. The first
|
||||||
is a system of _concepts_ which extend the C++ standard
|
is a system of _concepts_ which extend the C++ standard
|
||||||
@ -203,7 +203,7 @@ templates.
|
|||||||
|
|
||||||
[section:upgrading Upgrading from the old Boost Iterator Adaptor Library]
|
[section:upgrading Upgrading from the old Boost Iterator Adaptor Library]
|
||||||
|
|
||||||
[def _type_generator_ [@http://www.boost.org/more/generic_programming.html#type_generator type generator]]
|
[def _type_generator_ [@../../more/generic_programming.html#type_generator type generator]]
|
||||||
|
|
||||||
If you have been using the old Boost Iterator Adaptor library to
|
If you have been using the old Boost Iterator Adaptor library to
|
||||||
implement iterators, you probably wrote a `Policies` class which
|
implement iterators, you probably wrote a `Policies` class which
|
||||||
|
0
doc/reverse_iterator.pdf
Normal file → Executable file
0
doc/reverse_iterator.pdf
Normal file → Executable file
0
doc/transform_iterator.pdf
Normal file → Executable file
0
doc/transform_iterator.pdf
Normal file → Executable file
0
doc/transform_iterator_eg.rst
Normal file → Executable file
0
doc/transform_iterator_eg.rst
Normal file → Executable file
0
doc/zip_iterator.html
Normal file → Executable file
0
doc/zip_iterator.html
Normal file → Executable file
0
doc/zip_iterator.pdf
Normal file → Executable file
0
doc/zip_iterator.pdf
Normal file → Executable file
0
doc/zip_iterator.rst
Normal file → Executable file
0
doc/zip_iterator.rst
Normal file → Executable file
0
doc/zip_iterator_abstract.rst
Normal file → Executable file
0
doc/zip_iterator_abstract.rst
Normal file → Executable file
0
doc/zip_iterator_eg.rst
Normal file → Executable file
0
doc/zip_iterator_eg.rst
Normal file → Executable file
0
doc/zip_iterator_ref.rst
Normal file → Executable file
0
doc/zip_iterator_ref.rst
Normal file → Executable file
0
example/node.hpp
Normal file → Executable file
0
example/node.hpp
Normal file → Executable file
0
example/node_iterator1.cpp
Normal file → Executable file
0
example/node_iterator1.cpp
Normal file → Executable file
0
example/node_iterator1.hpp
Normal file → Executable file
0
example/node_iterator1.hpp
Normal file → Executable file
0
example/node_iterator2.cpp
Normal file → Executable file
0
example/node_iterator2.cpp
Normal file → Executable file
0
example/node_iterator2.hpp
Normal file → Executable file
0
example/node_iterator2.hpp
Normal file → Executable file
0
example/node_iterator3.cpp
Normal file → Executable file
0
example/node_iterator3.cpp
Normal file → Executable file
0
example/node_iterator3.hpp
Normal file → Executable file
0
example/node_iterator3.hpp
Normal file → Executable file
0
include/boost/iterator/detail/any_conversion_eater.hpp
Normal file → Executable file
0
include/boost/iterator/detail/any_conversion_eater.hpp
Normal file → Executable file
@ -49,9 +49,7 @@
|
|||||||
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \
|
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \
|
||||||
|| BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x531)) \
|
|| BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x531)) \
|
||||||
|| (BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, <= 700) && defined(_MSC_VER)) \
|
|| (BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, <= 700) && defined(_MSC_VER)) \
|
||||||
|| BOOST_WORKAROUND(__DECCXX_VER, BOOST_TESTED_AT(60590042)) \
|
|| BOOST_WORKAROUND(__DECCXX_VER, BOOST_TESTED_AT(60590042))
|
||||||
|| BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x590))
|
|
||||||
|
|
||||||
# define BOOST_NO_LVALUE_RETURN_DETECTION
|
# define BOOST_NO_LVALUE_RETURN_DETECTION
|
||||||
|
|
||||||
# if 0 // test code
|
# if 0 // test code
|
||||||
|
0
include/boost/iterator/detail/facade_iterator_category.hpp
Normal file → Executable file
0
include/boost/iterator/detail/facade_iterator_category.hpp
Normal file → Executable file
0
include/boost/iterator/detail/minimum_category.hpp
Normal file → Executable file
0
include/boost/iterator/detail/minimum_category.hpp
Normal file → Executable file
0
include/boost/iterator/is_lvalue_iterator.hpp
Normal file → Executable file
0
include/boost/iterator/is_lvalue_iterator.hpp
Normal file → Executable file
0
include/boost/iterator/is_readable_iterator.hpp
Normal file → Executable file
0
include/boost/iterator/is_readable_iterator.hpp
Normal file → Executable file
@ -433,26 +433,26 @@ namespace boost
|
|||||||
# ifdef BOOST_NO_STRICT_ITERATOR_INTEROPERABILITY
|
# ifdef BOOST_NO_STRICT_ITERATOR_INTEROPERABILITY
|
||||||
# define BOOST_ITERATOR_FACADE_INTEROP_HEAD(prefix, op, result_type) \
|
# define BOOST_ITERATOR_FACADE_INTEROP_HEAD(prefix, op, result_type) \
|
||||||
template < \
|
template < \
|
||||||
class Derived1, class V1, class TC1, class Reference1, class Difference1 \
|
class Derived1, class V1, class TC1, class R1, class D1 \
|
||||||
, class Derived2, class V2, class TC2, class Reference2, class Difference2 \
|
, class Derived2, class V2, class TC2, class R2, class D2 \
|
||||||
> \
|
> \
|
||||||
prefix typename mpl::apply2<result_type,Derived1,Derived2>::type \
|
prefix typename mpl::apply2<result_type,Derived1,Derived2>::type \
|
||||||
operator op( \
|
operator op( \
|
||||||
iterator_facade<Derived1, V1, TC1, Reference1, Difference1> const& lhs \
|
iterator_facade<Derived1, V1, TC1, R1, D1> const& lhs \
|
||||||
, iterator_facade<Derived2, V2, TC2, Reference2, Difference2> const& rhs)
|
, iterator_facade<Derived2, V2, TC2, R2, D2> const& rhs)
|
||||||
# else
|
# else
|
||||||
# define BOOST_ITERATOR_FACADE_INTEROP_HEAD(prefix, op, result_type) \
|
# define BOOST_ITERATOR_FACADE_INTEROP_HEAD(prefix, op, result_type) \
|
||||||
template < \
|
template < \
|
||||||
class Derived1, class V1, class TC1, class Reference1, class Difference1 \
|
class Derived1, class V1, class TC1, class R1, class D1 \
|
||||||
, class Derived2, class V2, class TC2, class Reference2, class Difference2 \
|
, class Derived2, class V2, class TC2, class R2, class D2 \
|
||||||
> \
|
> \
|
||||||
prefix typename boost::detail::enable_if_interoperable< \
|
prefix typename boost::detail::enable_if_interoperable< \
|
||||||
Derived1, Derived2 \
|
Derived1, Derived2 \
|
||||||
, typename mpl::apply2<result_type,Derived1,Derived2>::type \
|
, typename mpl::apply2<result_type,Derived1,Derived2>::type \
|
||||||
>::type \
|
>::type \
|
||||||
operator op( \
|
operator op( \
|
||||||
iterator_facade<Derived1, V1, TC1, Reference1, Difference1> const& lhs \
|
iterator_facade<Derived1, V1, TC1, R1, D1> const& lhs \
|
||||||
, iterator_facade<Derived2, V2, TC2, Reference2, Difference2> const& rhs)
|
, iterator_facade<Derived2, V2, TC2, R2, D2> const& rhs)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# define BOOST_ITERATOR_FACADE_PLUS_HEAD(prefix,args) \
|
# define BOOST_ITERATOR_FACADE_PLUS_HEAD(prefix,args) \
|
||||||
|
0
include/boost/iterator/zip_iterator.hpp
Normal file → Executable file
0
include/boost/iterator/zip_iterator.hpp
Normal file → Executable file
@ -1,9 +1,6 @@
|
|||||||
// Copyright David Abrahams 2004. Distributed under the Boost
|
// Copyright David Abrahams 2004. Distributed under the Boost
|
||||||
// Software License, Version 1.0. (See accompanying
|
// Software License, Version 1.0. (See accompanying
|
||||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// See www.boost.org/libs/iterator for documentation.
|
|
||||||
|
|
||||||
#ifndef ITERATOR_ADAPTORS_DWA2004725_HPP
|
#ifndef ITERATOR_ADAPTORS_DWA2004725_HPP
|
||||||
# define ITERATOR_ADAPTORS_DWA2004725_HPP
|
# define ITERATOR_ADAPTORS_DWA2004725_HPP
|
||||||
|
|
||||||
|
0
include/boost/pointee.hpp
Normal file → Executable file
0
include/boost/pointee.hpp
Normal file → Executable file
0
index.html
Normal file → Executable file
0
index.html
Normal file → Executable file
0
test/constant_iter_arrow.cpp
Normal file → Executable file
0
test/constant_iter_arrow.cpp
Normal file → Executable file
0
test/constant_iter_arrow_fail.cpp
Normal file → Executable file
0
test/constant_iter_arrow_fail.cpp
Normal file → Executable file
0
test/interoperable.cpp
Normal file → Executable file
0
test/interoperable.cpp
Normal file → Executable file
0
test/is_lvalue_iterator.cpp
Normal file → Executable file
0
test/is_lvalue_iterator.cpp
Normal file → Executable file
0
test/is_readable_iterator.cpp
Normal file → Executable file
0
test/is_readable_iterator.cpp
Normal file → Executable file
0
test/iter_archetype_default_ctor.cpp
Normal file → Executable file
0
test/iter_archetype_default_ctor.cpp
Normal file → Executable file
0
test/iterator_facade.cpp
Normal file → Executable file
0
test/iterator_facade.cpp
Normal file → Executable file
0
test/pointee.cpp
Normal file → Executable file
0
test/pointee.cpp
Normal file → Executable file
0
test/zip_iterator_test.cpp
Normal file → Executable file
0
test/zip_iterator_test.cpp
Normal file → Executable file
Reference in New Issue
Block a user