Login  Register

ObjectHandler::property_t

Posted by Jerry Jin on Jul 20, 2016; 2:13pm
URL: http://quantlib.414.s1.nabble.com/ObjectHandler-property-t-tp17611.html

Hello, 

I'm trying to create ObjectHandler::property_t variable, which will later converted to other library type by ObjectHandler::convert2

e.g. 

ObjectHandler::property_t DealMaturityCpp( longTypeVar );

This compiled fine on windows, but failed on Mac with error:

/opt/local/include/boost/variant/variant.hpp:1534:28: Call to member function 'initialize' is ambiguous

How should I convert from native type like long, double, bool etc, to ObjectHandler::property_t?

Thank you!

Regards

Jerry



------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users