Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

c++ with std c headers

2008-07-21
2013-04-11
  • Tom Hilinski
    Tom Hilinski
    2008-07-21

    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.