![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
Use std::string instead of const std::string& in C++ APIs where the string is being copied. by RyanTheOptimist · Pull Request #2667 · envoyproxy/envoy-mobile · 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://blog.feabhas.com/wp-content/uploads/2022/01/Slide1.png)