Commit 807c469c authored by Yury V. Zaytsev's avatar Yury V. Zaytsev

Add declarations for C++11/14 smart pointer factories (make_shared & make_unique)

Signed-off-by: default avatarYury V. Zaytsev <yury.zaytsev@traveltainment.de>
parent da1d5bb6
......@@ -85,3 +85,9 @@ cdef extern from "<memory>" namespace "std" nogil:
shared_ptr[T] lock()
bool owner_before[Y](const weak_ptr[Y]&)
bool owner_before[Y](const shared_ptr[Y]&)
# Smart pointer non-member operations
shared_ptr[T] make_shared[T](...) except +
# Temporaries used for exception handling break generated code
unique_ptr[T] make_unique[T](...) # except +
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