Re: Swig Wrapers for DeltaVolQuote
Posted by DPaulino on Dec 22, 2015; 3:17pm
URL: http://quantlib.414.s1.nabble.com/Swig-Wrapers-for-DeltaVolQuote-tp17124p17203.html
Sorry Luigi,
with these lines I seem to get the error:
Severity Code Description Project File Line
Error C2512 'QuantLib::DeltaVolQuote::DeltaVolQuote': no appropriate default constructor available NQuantLibc C:\QuantLib-SWIG\CSharp\cpp\quantlib_wrap.cpp 80873
When I go to the refere line what I see is:
SWIGEXPORT void * SWIGSTDCALL CSharp_new__DeltaVolQuote() {
void * jresult ;
DeltaVolQuote *result = 0 ;
{
try {
result = (DeltaVolQuote *)new DeltaVolQuote();
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
};
} catch (std::exception& e) {
{
SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
};
} catch (...) {
{
SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
};
}
}
jresult = (void *)result;
return jresult;
}
Any ideas?