Here's a problem with the Xmem.h header with C++:
It #defines string functions, and other std C library functions. That doesn't work when, e.g., <cstring> in used rather than <string.h>. The Xmem versions need to be wrapped in namespace std in the former case, but not in the latter case.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here's a problem with the Xmem.h header with C++:
It #defines string functions, and other std C library functions. That doesn't work when, e.g., <cstring> in used rather than <string.h>. The Xmem versions need to be wrapped in namespace std in the former case, but not in the latter case.