CppSharp
CppSharp copied to clipboard
No code is generated for functions accepting std::string_view
OS: Windows
Used headers
string_view
Used settings
Target: MSVC
Driver.ParserOptions.LanguageVersion
= LanguageVersion.CPP17
Generated code
// DEBUG: void method(std::string_view data)
// DEBUG: {
// DEBUG: }
// DEBUG:
Seeing the same issue on my side.
Three years have passed, is there a solution?
Three years have passed, is there a solution?
Unfortunately, the only solution for now is to change the input C++ code and add either string
or const char*
overloads. It needs to be implemented.