3 ms·
You can look at the pybind11 (https://github.com/pybind/pybind11 https://github.com/pybind/pybind11) codebase. It is a library for generating python bindings fo
by in42 6y ago
You can look at the pybind11 (https://github.com/pybind/pybind11 https://github.com/pybind/pybind11) codebase. It is a library for generating python bindings for C++ code. It uses latest C++17 and does quite a lot of template metaprogramming to generate the bindings.
- deleted 6y ago[deleted]