![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
![Convert System::String to c char string or std::string · Issue #43 · jacksondunstan/UnityNativeScripting · GitHub Convert System::String to c char string or std::string · Issue #43 · jacksondunstan/UnityNativeScripting · GitHub](https://user-images.githubusercontent.com/25851211/62620958-34be0700-b94d-11e9-9613-9a88352da98b.png)
Convert System::String to c char string or std::string · Issue #43 · jacksondunstan/UnityNativeScripting · GitHub
![🤍❤️🤍 🇺🇦 Vic𓂿or on Twitter: "Me: can we have modern C++? Mom: we have modern C++ at home Modern C++ at home: https://t.co/uCfxSm1RZ7" / Twitter 🤍❤️🤍 🇺🇦 Vic𓂿or on Twitter: "Me: can we have modern C++? Mom: we have modern C++ at home Modern C++ at home: https://t.co/uCfxSm1RZ7" / Twitter](https://pbs.twimg.com/media/Eq0oSxEUcAImMSr.jpg)
🤍❤️🤍 🇺🇦 Vic𓂿or on Twitter: "Me: can we have modern C++? Mom: we have modern C++ at home Modern C++ at home: https://t.co/uCfxSm1RZ7" / Twitter
![I am not able to get it what it means , "error: cannot convert 'std::string' to 'const char*' " - Complete C++ Course - Coding Blocks Discussion Forum I am not able to get it what it means , "error: cannot convert 'std::string' to 'const char*' " - Complete C++ Course - Coding Blocks Discussion Forum](https://discuss.codingblocks.com/uploads/default/original/2X/5/55ea241bbd28cfb2cf4c5ff6fb29f183b615394c.jpeg)
I am not able to get it what it means , "error: cannot convert 'std::string' to 'const char*' " - Complete C++ Course - Coding Blocks Discussion Forum
![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/blog.feabhas.com/wp-content/uploads/2022/01/Slide2.png?w=640&ssl=1)