Fix the problems described in this thread:

http://lists.boost.org/MailArchives/boost-users/msg08656.php


[SVN r26410]
This commit is contained in:
Dave Abrahams
2004-12-03 09:55:30 +00:00
parent 68268f81eb
commit 295ae05e40
4 changed files with 43 additions and 1 deletions

View File

@ -22,7 +22,11 @@
# define BOOST_ITERATOR_CONFIG_DEF
#endif
#if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
// We enable this always now. Otherwise, the simple case in
// libs/iterator/test/constant_iterator_arrow.cpp fails to compile
// because the operator-> return is improperly deduced as a non-const
// pointer.
#if 1 || defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
|| BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x531))
// Recall that in general, compilers without partial specialization