|
From: Jerry J. <jer...@gm...> - 2016-07-20 15:25:49
|
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 |