ai-content-maker/.venv/Lib/site-packages/Cython/Includes/libcpp/any.pxd

17 lines
425 B
Cython
Raw Normal View History

2024-05-03 04:18:51 +03:00
from libcpp cimport bool
from libcpp.typeinfo cimport type_info
cdef extern from "<any>" namespace "std" nogil:
cdef cppclass any:
any()
any(any&) except +
void reset()
bool has_value()
type_info& type()
T& emplace[T](...) except +
void swap(any&)
any& operator=(any&) except +
any& operator=[U](U&) except +
cdef T any_cast[T](any&) except +