Commit b591de14 authored by Kevin R. Thornton's avatar Kevin R. Thornton

add C++11 default_delete. update unique_ptr to take default

template argument
parent a72d2d5f
from libcpp cimport bool, nullptr_t, nullptr from libcpp cimport bool, nullptr_t, nullptr
cdef extern from "<memory>" namespace "std" nogil: cdef extern from "<memory>" namespace "std" nogil:
cdef cppclass default_delete[T]:
default_delete()
cdef cppclass unique_ptr[T]: cdef cppclass unique_ptr[T,DELETER=*]:
unique_ptr() unique_ptr()
unique_ptr(nullptr_t) unique_ptr(nullptr_t)
unique_ptr(T*) unique_ptr(T*)
......
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