I'm trying to determine if CppSharp will work for my project. Created a simple class and included "boost/intrusive/list.hpp" the generator ended up throwing an unsupported exception:
System.NotImplementedException was unhandled
HResult=-
2147467263
Message=The method or operation is not implemented.
Source=CppSharp.Generator
StackTrace:
at CppSharp.Generators.CLI.CLIMarshalNativeToManagedPrinter.VisitTemplateParameterType(TemplateParameterType param, TypeQualifiers quals) in d:...\Generators\CLI\CLIMarshal.cs:line 255
If not fully supported are there any plans? Is there a workaround?
Here is the native .h:
namespace Prototype
{
// This class is exported from the CallMe.Native.dll
class CALLMENATIVE_API CCallMeNative {
public:
CCallMeNative();
// TODO: add your methods here.
int howManyTimes();
std::string callMeMaybe(void);
std::string callMeAgain(void);
boost::intrusive::list_member_hook<> hook_bytype_HeartBreaker;
};
}