Hello,
I am doing an experiment with a portable library (Android and Windows Phone) with VS 2015 CTP calling a third party API which return a a JSON containing a string property that is actually an integer (not a great idea but I can't change that third party API).
The problem seem related that Android as_string() version returns an std::string while Windows Phone version returns a std::wstring.
How can this be handled in a portable library?
Thanks,
Pedro
I am doing an experiment with a portable library (Android and Windows Phone) with VS 2015 CTP calling a third party API which return a a JSON containing a string property that is actually an integer (not a great idea but I can't change that third party API).
The problem seem related that Android as_string() version returns an std::string while Windows Phone version returns a std::wstring.
How can this be handled in a portable library?
Thanks,
Pedro








