mirror of
https://github.com/boostorg/python.git
synced 2026-01-24 18:12:43 +00:00
Workaround a CWPro7.2 bug
[SVN r14720]
This commit is contained in:
@@ -61,7 +61,7 @@ namespace detail
|
||||
template <class T>
|
||||
class handle
|
||||
{
|
||||
typedef T* (handle::*bool_type);
|
||||
typedef T* (handle::* bool_type )() const;
|
||||
|
||||
public: // types
|
||||
typedef T element_type;
|
||||
@@ -112,7 +112,7 @@ class handle
|
||||
|
||||
operator bool_type() const // never throws
|
||||
{
|
||||
return m_p ? &handle<T>::m_p : 0;
|
||||
return m_p ? &handle<T>::get : 0;
|
||||
}
|
||||
bool operator! () const; // never throws
|
||||
|
||||
|
||||
Reference in New Issue
Block a user