![QUESTION] How to write the binding code for a c++ function that takes char * and return a std::string · Issue #2615 · pybind/pybind11 · GitHub QUESTION] How to write the binding code for a c++ function that takes char * and return a std::string · Issue #2615 · pybind/pybind11 · GitHub](https://user-images.githubusercontent.com/37881189/96821777-782f5480-13dd-11eb-9a10-a26cf1d1600a.png)
QUESTION] How to write the binding code for a c++ function that takes char * and return a std::string · Issue #2615 · pybind/pybind11 · GitHub
![object oriented - warning: ISO C++ forbids converting a string constant to ' char*' - Computer Science Stack Exchange object oriented - warning: ISO C++ forbids converting a string constant to ' char*' - Computer Science Stack Exchange](https://i.stack.imgur.com/yqbHs.png)
object oriented - warning: ISO C++ forbids converting a string constant to ' char*' - Computer Science Stack Exchange
![Working with Strings in Embedded C++ - Sticky Bits - Powered by FeabhasSticky Bits – Powered by Feabhas Working with Strings in Embedded C++ - Sticky Bits - Powered by FeabhasSticky Bits – Powered by Feabhas](https://i0.wp.com/feabhasblog.wpengine.com/wp-content/uploads/2022/01/Slide3.png?w=640&ssl=1)
Working with Strings in Embedded C++ - Sticky Bits - Powered by FeabhasSticky Bits – Powered by Feabhas
![QUESTION] How to write the binding code for a c++ function that takes char * and return a std::string · Issue #2615 · pybind/pybind11 · GitHub QUESTION] How to write the binding code for a c++ function that takes char * and return a std::string · Issue #2615 · pybind/pybind11 · GitHub](https://user-images.githubusercontent.com/37881189/96821704-4c13d380-13dd-11eb-9b85-28f807da2db3.png)
QUESTION] How to write the binding code for a c++ function that takes char * and return a std::string · Issue #2615 · pybind/pybind11 · GitHub
![Working with Strings in Embedded C++ - Sticky Bits - Powered by FeabhasSticky Bits – Powered by Feabhas Working with Strings in Embedded C++ - Sticky Bits - Powered by FeabhasSticky Bits – Powered by Feabhas](https://i0.wp.com/feabhasblog.wpengine.com/wp-content/uploads/2022/01/Slide6.png?w=640&ssl=1)