Commit 8c6dae36 authored by Robert Bradshaw's avatar Robert Bradshaw

Merge pull request #432 from slonik-az/LR.memory

unique_ptr & shared_ptr: Added missing bool operator!()
parents 969de4ea fc391b18
...@@ -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