Fix for #111. For whatever reason, your current includes don't bring memcpy in (I'm guessing it has to do with how whatever STL implementation I'm using is structured). I opted for the C++ version, but I can replace #include <cstring> with #include <string.h> and it will also solve the problem, while also allowing removal of the std:: prefixes on each call. Let me know what you think!
Really awesome piece of code, it's proving very useful in my project. Thanks!
Fix for #111. For whatever reason, your current includes don't bring
memcpy
in (I'm guessing it has to do with how whatever STL implementation I'm using is structured). I opted for the C++ version, but I can replace#include <cstring>
with#include <string.h>
and it will also solve the problem, while also allowing removal of thestd::
prefixes on each call. Let me know what you think!Really awesome piece of code, it's proving very useful in my project. Thanks!