LPVOID p = HeapAlloc( hHeap, dwFlags, dwBytes );
*reinterpret_cast<LPVOID*&>( p ) = 0;
인 코드가 있는데
*reinterpret_cast<LPVOID*>( p ) = 0;
와 어떤 부분에서 다른지 알고 싶습니다.
LPVOID p = HeapAlloc( hHeap, dwFlags, dwBytes );
*reinterpret_cast<LPVOID*&>( p ) = 0;
인 코드가 있는데
*reinterpret_cast<LPVOID*>( p ) = 0;
와 어떤 부분에서 다른지 알고 싶습니다.
조사식 찍어봐라 뭐가 다른지