Commit 0fc1b3a2 authored by Kevin R. Thornton's avatar Kevin R. Thornton

ok--figured out the culprit

parent 3a6c61e9
...@@ -7,7 +7,7 @@ cdef extern from "<memory>" namespace "std" nogil: ...@@ -7,7 +7,7 @@ cdef extern from "<memory>" namespace "std" nogil:
cdef cppclass allocator[T]: cdef cppclass allocator[T]:
allocator() allocator()
allocator(const allocator &) allocator(const allocator &)
#allocator[U](const allocator[U] &) #unique_ptr unit tests fail w/this #allocator(const allocator[U] &) #unique_ptr unit tests fail w/this
T * address(T &) T * address(T &)
const T * address(const T &) const const T * address(const T &) const
T * allocate( size_t n ) # Not to standard. should be a second default argument T * allocate( size_t n ) # Not to standard. should be a second default argument
...@@ -15,7 +15,7 @@ cdef extern from "<memory>" namespace "std" nogil: ...@@ -15,7 +15,7 @@ cdef extern from "<memory>" namespace "std" nogil:
size_t max_size() const size_t max_size() const
void construct( T *, const T &) #C++98. The C++11 version is variadic AND perfect-forwarding void construct( T *, const T &) #C++98. The C++11 version is variadic AND perfect-forwarding
void destroy(T *) #C++98 void destroy(T *) #C++98
#void destroy[U](U *) #unique_ptr unit tests fail w/this void destroy[U](U *) #unique_ptr unit tests fail w/this
cdef cppclass unique_ptr[T,DELETER=*]: cdef cppclass unique_ptr[T,DELETER=*]:
......
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