cppyy

using nlohmann::json with cppyy?

using nlohmann::json with cppyy? Question: Is it possible to pass a python dict into a function expecting a nlohmann::json (nlohmann/json) object via cppyy? This question has to have come up by now, but I wasn’t able to find anything on it. Minimal example to reproduce (without regard to performance/safety, pls forgive): test-json.h #include <iostream> #include …

Total answers: 1

How to use future / async in cppyy

How to use future / async in cppyy Question: I’m trying to use future from C++ STL via cppyy (a C++-python binding packet). For example, I could run this following code in C++ (which is adapted from this answer) #include <future> #include <thread> #include <chrono> #include <iostream> using namespace std; using namespace chrono_literals; int main …

Total answers: 1