When I want to use .pxd and .pyx files to use my C++ code within Python, I can use vector after importing libcpp.vector within the pxd file. Is it possible to write own C++ classes and use them in pxd files like vector is used (for example use std::array)?
On the one hand, libcpp seems to contain the pxd file for vector only, while on the other hand the cython compiler seems to do some extra tricks when dealing with vectors.