Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: Templated json::value?

$
0
0
Hi Boris,

Yes potentially something like that could be done. It would have to be a bit more complex as the utility::string_t type is different depending on the platform. The json::value type needs to stay the same, but two additional types to be explicitly UTF-8 and UTF-16 could be created. Something like the following:
using value = valueT<utility::string_t::value_type>;
using valueutf8 = valueT<char>;
using valueutf16 = valueT<utf16char>;
Steve

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>