Does it matter? std::string is safer than the dog's breakfast that is strcpy/strncpy/lstrncpy/strncpy_s/mempcpy on any platform. And static_cast<myclass> beats (void*) everywhere - Linux, Windows, OSX, Android...
On Windows, where C is considered legacy and C++ is allowed on the kernel.