How to use VC++ intrinsic functions w/o run-time library
I think I finally found a solution: First, in a header file, declare memset() with a pragma, like so: extern “C” void * __cdecl memset(void *, int, size_t); #pragma intrinsic(memset) That allows your code to call memset(). In most cases, the compiler will inline the intrinsic version. Second, in a separate implementation file, provide an … Read more