Example of Cython bindings for C++ code (with templates)