forked from boostorg/range
fix 'operator bool()' workaround for borland
[SVN r28932]
This commit is contained in:
@ -244,7 +244,7 @@ namespace boost
|
|||||||
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
|
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
|
||||||
operator bool() const
|
operator bool() const
|
||||||
{
|
{
|
||||||
return empty();
|
return !empty();
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
typedef iterator (iterator_range::*unspecified_bool_type) () const;
|
typedef iterator (iterator_range::*unspecified_bool_type) () const;
|
||||||
|
Reference in New Issue
Block a user