Download lib/python3.9/site-packages/Cython/Includes/libcpp/utility.pxd from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 1.04 kB
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/Cython/Includes/libcpp/utility.pxd
- Command line
-
hf download hf://camenduru/slahmr-test/lib/python3.9/site-packages/Cython/Includes/libcpp/utility.pxd
-
curl -L -o utility.pxd https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/Cython/Includes/libcpp/utility.pxd
1.04 kB
| cdef extern from "<utility>" namespace "std" nogil: | |
| cdef cppclass pair[T, U]: | |
| ctypedef T first_type | |
| ctypedef U second_type | |
| T first | |
| U second | |
| pair() except + | |
| pair(pair&) except + | |
| pair(T&, U&) except + | |
| bint operator==(pair&, pair&) | |
| bint operator!=(pair&, pair&) | |
| bint operator<(pair&, pair&) | |
| bint operator>(pair&, pair&) | |
| bint operator<=(pair&, pair&) | |
| bint operator>=(pair&, pair&) | |
| cdef extern from * namespace "cython_std" nogil: | |
| """ | |
| #if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1600) | |
| // move should be defined for these versions of MSVC, but __cplusplus isn't set usefully | |
| #include <type_traits> | |
| namespace cython_std { | |
| template <typename T> typename std::remove_reference<T>::type&& move(T& t) noexcept { return std::move(t); } | |
| template <typename T> typename std::remove_reference<T>::type&& move(T&& t) noexcept { return std::move(t); } | |
| } | |
| #endif | |
| """ | |
| cdef T move[T](T) | |