Closed MarcelRaad closed 1 year ago
Rebased and removed the two commits which are already integrated. Only the warning fixes are left now.
IIRC, the unsigned
in hex
is there to prevent warnings on other compilers.
In the testX
checks, I'd rather change dest
to a size_t
, since that's what std::distance
returns.
IIRC, the unsigned in hex is there to prevent warnings on other compilers.
OK, I reverted that one.
In the testX checks, I'd rather change dest to a size_t, since that's what std::distance returns.
Right, that's better! It's ptrdiff_t rather than size_t, but it also applies to the operator+ used in the other tests. I changed that now.
MSVC complains about narrowing conversions and unreferences parameters. This makes all tests almost level 4 warning clean on MSVC 14.