ctemplate
ctemplate copied to clipboard
Fix 64-bit compilation (at least on MSVC 2017, 15.3)
Otherwise warning is issued (assignment loses precision)
Thanks! The warning is "warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data" though, precision is a floating point thingy. ;)
BTW, std::string::size_type would be even more correct but size_it is fine with me.