Compare commits

..

5 Commits

Author SHA1 Message Date
a1a447e53f Point 'more' links at the site.
[SVN r43169]
2008-02-07 23:08:19 +00:00
5d78577731 Roll back links to the beta site.
[SVN r43163]
2008-02-07 20:47:08 +00:00
c73e4d23a7 Merge from trunk.
[SVN r42243]
2007-12-22 15:36:31 +00:00
b4ee8ac96d Update links in the iterator library. I haven't regenerated the documentation, but the changes should be in sync with the source files.
[SVN r41660]
2007-12-03 20:08:14 +00:00
a2f779bfbe Create a branch to fix links on.
[SVN r41573]
2007-12-02 10:07:42 +00:00
83 changed files with 19 additions and 55 deletions

0
doc/BidirectionalTraversal.rst Normal file → Executable file
View File

0
doc/ForwardTraversal.rst Normal file → Executable file
View File

0
doc/GNUmakefile Normal file → Executable file
View File

0
doc/IncrementableIterator.rst Normal file → Executable file
View File

View File

@ -16,7 +16,5 @@ boostbook standalone
<xsl:param>toc.max.depth=3
<xsl:param>toc.section.depth=3
<xsl:param>chunk.section.depth=4
<format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/libs/iterator/doc
;

0
doc/LvalueIterator.rst Normal file → Executable file
View File

0
doc/ReadableIterator.rst Normal file → Executable file
View File

0
doc/SinglePassIterator.rst Normal file → Executable file
View File

0
doc/SwappableIterator.rst Normal file → Executable file
View File

0
doc/WritableIterator.rst Normal file → Executable file
View File

0
doc/counting_iterator.pdf Normal file → Executable file
View File

0
doc/docutils.sty Normal file → Executable file
View File

0
doc/facade-and-adaptor.html Normal file → Executable file
View File

0
doc/facade-and-adaptor.pdf Normal file → Executable file
View File

0
doc/facade_iterator_category.rst Normal file → Executable file
View File

0
doc/filter_iterator.pdf Normal file → Executable file
View File

0
doc/function_output_iterator.pdf Normal file → Executable file
View File

0
doc/index.html Normal file → Executable file
View File

0
doc/index.rst Normal file → Executable file
View File

0
doc/indirect_iterator.pdf Normal file → Executable file
View File

0
doc/indirect_reference_ref.rst Normal file → Executable file
View File

0
doc/interoperability-revisited.rst Normal file → Executable file
View File

0
doc/issues.rst Normal file → Executable file
View File

0
doc/iterator_adaptor.pdf Normal file → Executable file
View File

0
doc/iterator_adaptor_tutorial.rst Normal file → Executable file
View File

0
doc/iterator_archetypes.html Normal file → Executable file
View File

0
doc/iterator_archetypes.pdf Normal file → Executable file
View File

0
doc/iterator_archetypes.rst Normal file → Executable file
View File

0
doc/iterator_concepts.pdf Normal file → Executable file
View File

0
doc/iterator_concepts.rst Normal file → Executable file
View File

0
doc/iterator_facade.pdf Normal file → Executable file
View File

0
doc/iterator_facade_tutorial.rst Normal file → Executable file
View File

0
doc/iterator_traits.html Normal file → Executable file
View File

0
doc/iterator_traits.pdf Normal file → Executable file
View File

0
doc/iterator_traits.rst Normal file → Executable file
View File

0
doc/make_counting_iterator.rst Normal file → Executable file
View File

0
doc/make_filter_iterator.rst Normal file → Executable file
View File

0
doc/make_transform_iterator.rst Normal file → Executable file
View File

0
doc/make_zip_iterator.rst Normal file → Executable file
View File

0
doc/new-iter-concepts.html Normal file → Executable file
View File

0
doc/new-iter-concepts.pdf Normal file → Executable file
View File

0
doc/permutation_iterator.pdf Normal file → Executable file
View File

0
doc/pointee.html Normal file → Executable file
View File

0
doc/pointee.pdf Normal file → Executable file
View File

0
doc/pointee.rst Normal file → Executable file
View File

0
doc/pointee_ref.rst Normal file → Executable file
View File

0
doc/reverse_iterator.pdf Normal file → Executable file
View File

0
doc/transform_iterator.pdf Normal file → Executable file
View File

0
doc/transform_iterator_eg.rst Normal file → Executable file
View File

0
doc/zip_iterator.html Normal file → Executable file
View File

0
doc/zip_iterator.pdf Normal file → Executable file
View File

0
doc/zip_iterator.rst Normal file → Executable file
View File

0
doc/zip_iterator_abstract.rst Normal file → Executable file
View File

0
doc/zip_iterator_eg.rst Normal file → Executable file
View File

0
doc/zip_iterator_ref.rst Normal file → Executable file
View File

0
example/node.hpp Normal file → Executable file
View File

0
example/node_iterator1.cpp Normal file → Executable file
View File

0
example/node_iterator1.hpp Normal file → Executable file
View File

0
example/node_iterator2.cpp Normal file → Executable file
View File

0
example/node_iterator2.hpp Normal file → Executable file
View File

0
example/node_iterator3.cpp Normal file → Executable file
View File

0
example/node_iterator3.hpp Normal file → Executable file
View File

0
include/boost/iterator/detail/any_conversion_eater.hpp Normal file → Executable file
View File

View File

@ -47,7 +47,7 @@
#endif
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \
|| BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x5A0)) \
|| BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x531)) \
|| (BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, <= 700) && defined(_MSC_VER)) \
|| BOOST_WORKAROUND(__DECCXX_VER, BOOST_TESTED_AT(60590042)) \
|| BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x590))

View File

0
include/boost/iterator/detail/minimum_category.hpp Normal file → Executable file
View File

View File

@ -110,7 +110,7 @@ namespace boost
private:
typename super_t::reference dereference() const
{
# if BOOST_WORKAROUND(__BORLANDC__, < 0x5A0 )
# if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551))
return const_cast<super_t::reference>(**this->base());
# else
return **this->base();

0
include/boost/iterator/is_lvalue_iterator.hpp Normal file → Executable file
View File

0
include/boost/iterator/is_readable_iterator.hpp Normal file → Executable file
View File

View File

@ -24,14 +24,9 @@
#ifdef BOOST_ITERATOR_REF_CONSTNESS_KILLS_WRITABILITY
# include <boost/type_traits/remove_reference.hpp>
# if BOOST_WORKAROUND(__CODEGEARC__, BOOST_TESTED_AT(0x610))
# include <boost/type_traits/add_reference.hpp>
# endif
#else
#else
# include <boost/type_traits/add_reference.hpp>
#endif
#endif
#include <boost/iterator/detail/config_def.hpp>

View File

@ -105,7 +105,6 @@ namespace boost
typedef typename remove_const<ValueParam>::type value_type;
// Not the real associated pointer type
typedef typename mpl::eval_if<
boost::detail::iterator_writability_disabled<ValueParam,Reference>
, add_pointer<const value_type>
@ -471,7 +470,8 @@ namespace boost
//
class iterator_core_access
{
# if defined(BOOST_NO_MEMBER_TEMPLATE_FRIENDS)
# if defined(BOOST_NO_MEMBER_TEMPLATE_FRIENDS) \
|| BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551))
// Tasteless as this may seem, making all members public allows member templates
// to work in the absence of member template friends.
public:
@ -618,12 +618,6 @@ namespace boost
Value, CategoryOrTraversal, Reference, Difference
> associated_types;
typedef boost::detail::operator_arrow_result<
typename associated_types::value_type
, Reference
, typename associated_types::pointer
> pointer_;
protected:
// For use by derived classes
typedef iterator_facade<Derived,Value,CategoryOrTraversal,Reference,Difference> iterator_facade_;
@ -633,9 +627,7 @@ namespace boost
typedef typename associated_types::value_type value_type;
typedef Reference reference;
typedef Difference difference_type;
typedef typename pointer_::type pointer;
typedef typename associated_types::pointer pointer;
typedef typename associated_types::iterator_category iterator_category;
reference operator*() const
@ -643,9 +635,18 @@ namespace boost
return iterator_core_access::dereference(this->derived());
}
pointer operator->() const
typename boost::detail::operator_arrow_result<
value_type
, reference
, pointer
>::type
operator->() const
{
return pointer_::make(*this->derived());
return boost::detail::operator_arrow_result<
value_type
, reference
, pointer
>::make(*this->derived());
}
typename boost::detail::operator_brackets_result<Derived,Value,reference>::type

2
include/boost/iterator/zip_iterator.hpp Normal file → Executable file
View File

@ -357,7 +357,7 @@ namespace boost {
{
typedef typename tuple_impl_specific::tuple_meta_transform<
IteratorTuple
, pure_traversal_tag<iterator_traversal<> >
, iterator_traversal<>
>::type tuple_of_traversal_tags;
typedef typename tuple_impl_specific::tuple_meta_accumulate<

0
include/boost/pointee.hpp Normal file → Executable file
View File

0
index.html Normal file → Executable file
View File

0
test/constant_iter_arrow.cpp Normal file → Executable file
View File

0
test/constant_iter_arrow_fail.cpp Normal file → Executable file
View File

0
test/interoperable.cpp Normal file → Executable file
View File

0
test/is_lvalue_iterator.cpp Normal file → Executable file
View File

0
test/is_readable_iterator.cpp Normal file → Executable file
View File

0
test/iter_archetype_default_ctor.cpp Normal file → Executable file
View File

6
test/iterator_facade.cpp Normal file → Executable file
View File

@ -87,10 +87,6 @@ struct input_iter
}
};
template <class T, class U>
void same_type(U const&)
{ BOOST_MPL_ASSERT((boost::is_same<T,U>)); }
int main()
{
int state = 0;
@ -105,8 +101,6 @@ int main()
input_iter p;
(*p).mutator();
p->mutator();
same_type<input_iter::pointer>(p.operator->());
return boost::report_errors();
}

0
test/pointee.cpp Normal file → Executable file
View File

24
test/zip_iterator_test.cpp Normal file → Executable file
View File

@ -46,7 +46,6 @@
#include <vector>
#include <list>
#include <set>
#include <string>
#include <functional>
#include <boost/tuple/tuple.hpp>
#include <boost/iterator/transform_iterator.hpp>
@ -61,27 +60,6 @@ struct pure_traversal
typename boost::iterator_traversal<It>::type
>
{};
/// Tests for https://svn.boost.org/trac/boost/ticket/1517
int to_value(int const &v)
{
return v;
}
void category_test()
{
std::list<int> rng1;
std::string rng2;
boost::make_zip_iterator(
boost::make_tuple(
boost::make_transform_iterator(rng1.begin(), &to_value), // BidirectionalInput
rng2.begin() // RandomAccess
)
);
}
///
/////////////////////////////////////////////////////////////////////////////
//
@ -92,8 +70,6 @@ void category_test()
int main( void )
{
category_test();
std::cout << "\n"
<< "***********************************************\n"
<< "* *\n"