Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  static_assert(sizeof(DWORD) == sizeof(void*), "assume 32-bit pointers");


If we're talking about "undocumented legacy code doing crazy casts," static_assert is probably not an option.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: