summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin R. Thornton <krthornt@uci.edu>2016-02-22 11:52:17 -0800
committerKevin R. Thornton <krthornt@uci.edu>2016-02-22 11:52:17 -0800
commit3a6c61e93102197b625e98ba93b7d09f4b65c305 (patch)
tree21bafe7c564cade8c5540173edba5f0edd5d1fcd
parent08dcfd70d9751e2f6c8c19bdfbfd68474eaccb2c (diff)
downloadcython-3a6c61e93102197b625e98ba93b7d09f4b65c305.tar.gz
comment out template members.
-rw-r--r--Cython/Includes/libcpp/memory.pxd4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cython/Includes/libcpp/memory.pxd b/Cython/Includes/libcpp/memory.pxd
index 7d23fca1a..898eaf2d4 100644
--- a/Cython/Includes/libcpp/memory.pxd
+++ b/Cython/Includes/libcpp/memory.pxd
@@ -7,7 +7,7 @@ cdef extern from "<memory>" namespace "std" nogil:
cdef cppclass allocator[T]:
allocator()
allocator(const allocator &)
- allocator[U](const allocator[U] &)
+ #allocator[U](const allocator[U] &) #unique_ptr unit tests fail w/this
T * address(T &)
const T * address(const T &) const
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:
size_t max_size() const
void construct( T *, const T &) #C++98. The C++11 version is variadic AND perfect-forwarding
void destroy(T *) #C++98
- void destroy[U](U *)
+ #void destroy[U](U *) #unique_ptr unit tests fail w/this
cdef cppclass unique_ptr[T,DELETER=*]: