In C++, how do I print the type contained in a variant at run time?
My use case: passing a dictionary of values from Python to C++ using pybind11, and I want to print out the types that are received.
Aucun commentaire:
Enregistrer un commentaire