tgockel / json-voorhees

A killer modern C++ library for interacting with JSON.
http://tgockel.github.io/json-voorhees/
Apache License 2.0
128 stars 18 forks source link

formats::coerce does not cover weird integers on OSX and Windows #116

Closed tgockel closed 6 years ago

tgockel commented 6 years ago

formats::defaults has a block of code to cover size_t and long on OSX and long and unsigned long on Windows explicitly, since they are distinct from the explicitly-sized integers on those platforms. However, the formats::coerce does not have this support.

This code can also have some preprocessor magic removed because #106 is implemented.