stack.pxd 292 B

1234567891011
  1. cdef extern from "<stack>" namespace "std" nogil:
  2. cdef cppclass stack[T]:
  3. ctypedef T value_type
  4. stack() except +
  5. stack(stack&) except +
  6. #stack(Container&)
  7. bint empty()
  8. void pop()
  9. void push(T&)
  10. size_t size()
  11. T& top()