Building with VisualStudio 2017, using /W4 and /Wx, I get the following:
1>json.hpp(6946): warning C4244: '=': conversion from 'std::_Array_iterator<_Ty,64>::difference_type' to 'long', possible loss of data
On Windows, long is always 32-bits. Declaring 'len' as std::ptrdiff_t fixes the issue.
Building with VisualStudio 2017, using /W4 and /Wx, I get the following:
1>json.hpp(6946): warning C4244: '=': conversion from 'std::_Array_iterator<_Ty,64>::difference_type' to 'long', possible loss of dataOn Windows, long is always 32-bits. Declaring 'len' as std::ptrdiff_t fixes the issue.