functional.pxd 381 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
cdef extern from "<functional>" namespace "std" nogil:
    cdef cppclass function[T]:
        function() except +
        function(T*) except +
        function(function&) except +
        function(void*) except +

        function operator=(T*)
        function operator=(function&)
        function operator=(void*)
        function operator=[U](U)

        bint operator bool()