Closed MattPD closed 9 years ago
I would prefer explicit use of std::
I think there was variation across compilers and std libraries that caused the explicit std:: to fail. Any solution would need to pass travisci and appveyor :)
OK, let's see if this passes! :-)
Edit: All checks have passed :-)
Looks great!
Is this intentional?
As of GCC 4.9 this is no longer supported (and it was never std. compliant) -- see "Header changes": https://gcc.gnu.org/gcc-4.9/porting_to.html // Edit: this appears to refer to the header inclusion missing entirely.Currently
#include <cstddef>
is used in two places:A fix would be to either:
std::ptrdiff_t
andstd::size_t
(there aren't that many)#include <cstddef>
with#include <stddef.h>
I presume the choice may very well be a matter of preference :-)