Commit 705d5335 authored by Leo Razoumov's avatar Leo Razoumov Committed by Stefan Behnel

unique_ptr & shared_ptr: Added missing bool operator!()

parent e0257b50
...@@ -19,7 +19,8 @@ cdef extern from "<memory>" namespace "std" nogil: ...@@ -19,7 +19,8 @@ cdef extern from "<memory>" namespace "std" nogil:
T* get() T* get()
T& operator*() T& operator*()
#T* operator->() # Not Supported #T* operator->() # Not Supported
bool operator bool() # Not Supported bool operator bool()
bool operator!()
bool operator==(const unique_ptr&) bool operator==(const unique_ptr&)
bool operator!=(const unique_ptr&) bool operator!=(const unique_ptr&)
...@@ -54,7 +55,8 @@ cdef extern from "<memory>" namespace "std" nogil: ...@@ -54,7 +55,8 @@ cdef extern from "<memory>" namespace "std" nogil:
#T* operator->() # Not Supported #T* operator->() # Not Supported
long use_count() long use_count()
bool unique() bool unique()
bool operator bool() # Not Supported bool operator bool()
bool operator!()
#bool owner_before[Y](const weak_ptr[Y]&) # Not Supported #bool owner_before[Y](const weak_ptr[Y]&) # Not Supported
bool owner_before[Y](const shared_ptr[Y]&) bool owner_before[Y](const shared_ptr[Y]&)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment