mirror of
https://github.com/boostorg/utility.git
synced 2025-10-20 20:15:30 +02:00
Undo overeager workarounding and safe_bool.
[SVN r19364]
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
Reference in New Issue
Block a user