Compare commits

..

1 Commits

Author SHA1 Message Date
3a2acf42f1 This commit was manufactured by cvs2svn to create tag
'Version_1_23_0'.

[SVN r10562]
2001-07-06 20:31:02 +00:00
2 changed files with 5 additions and 11 deletions

View File

@ -21,7 +21,7 @@
namespace boost
{
# if defined(BOOST_NO_STD_ITERATOR) && !defined(BOOST_MSVC_STD_ITERATOR)
# ifdef BOOST_NO_STD_ITERATOR
template <class Category, class T,
class Distance = std::ptrdiff_t,
class Pointer = T*, class Reference = T&>

View File

@ -12,8 +12,6 @@
//
// Revision History:
// 26 Sep 2001 David Abrahams
// Added borland bug fix
// 08 Mar 2001 Jeremy Siek
// Added support for optional named template parameters.
// 19 Feb 2001 David Abrahams
@ -646,9 +644,9 @@ struct iterator_adaptor :
policies().initialize(iter());
}
#if defined(BOOST_MSVC) || defined(__BORLANDC__)
#ifdef BOOST_MSVC
// This is required to prevent a bug in how VC++ generates
// the assignment operator for compressed_pairv
// the assignment operator for compressed_pair.
iterator_adaptor& operator= (const iterator_adaptor& x) {
m_iter_p = x.m_iter_p;
return *this;
@ -658,7 +656,7 @@ struct iterator_adaptor :
return policies().dereference(type<reference>(), iter());
}
#ifdef BOOST_MSVC
#ifdef _MSC_VER
# pragma warning(push)
# pragma warning( disable : 4284 )
#endif
@ -667,7 +665,7 @@ struct iterator_adaptor :
operator->() const
{ return detail::operator_arrow(*this, iterator_category()); }
#ifdef BOOST_MSVC
#ifdef _MSC_VER
# pragma warning(pop)
#endif
@ -688,11 +686,7 @@ struct iterator_adaptor :
self operator++(int) { self tmp(*this); ++*this; return tmp; }
self& operator--() {
#ifdef __MWERKS__
policies().decrement<Base>(iter());
#else
policies().decrement(iter());
#endif
return *this;
}