Workaround for older EDGs

[SVN r21455]
This commit is contained in:
Dave Abrahams
2004-01-03 16:00:49 +00:00
parent 28dfcbd6b0
commit 0bf570c98d

View File

@ -106,7 +106,9 @@ namespace boost {
template<typename Iterator>
struct apply
{
#if BOOST_WORKAROUND(__GNUC__, == 2) || BOOST_WORKAROUND(__MWERKS__, <= 0x2407)
#if BOOST_WORKAROUND(__EDG_VERSION__, <= 300) \
|| BOOST_WORKAROUND(__GNUC__, == 2) \
|| BOOST_WORKAROUND(__MWERKS__, <= 0x2407)
typedef typename
iterator_traits<
typename boost::remove_cv<Iterator>::type