Undo overeager workarounding and safe_bool.

[SVN r19364]
This commit is contained in:
Dave Abrahams
2003-07-30 12:41:10 +00:00
parent cb189bd6be
commit fe3aaf62cd
2 changed files with 3 additions and 18 deletions

View File

@@ -316,15 +316,9 @@ template <class T, class B = ::boost::detail::empty_base>
struct bool_testable : B
{
friend bool operator!(const T& t) { return !static_cast<bool>(t); }
#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551))
private:
#if !BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, <= 600)
typedef signed char private_number_type;
# if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1301)) \
|| BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, BOOST_TESTED_AT(800)) \
|| BOOST_WORKAROUND(__GNUC__, BOOST_TESTED_AT(3)) \
|| BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551))
public:
# endif
operator private_number_type() const;
#endif
};