Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
std::is_same doesn't check calling convension
#include <type_traits> void * (__stdcall *a)(unsigned); void * (__cdecl *b)(unsigned); using T = decltype(reinterpret_cast<char * (*)(unsigned)>(a)); using U = decltype(reinterpret_cast<char * (*)(unsigned)>(b)); int main() { return std::is_same<T, U>::value; }
run
|
edit
|
history
|
help
0
test
hangman
ambiguity does not count as ambiguity
Matrix_1
dump_own_process.cpp
Struct packing
wall
msvc compile optimization demo...
What is the fastest/most efficient way to find the highest set bit (msb) in an integer in C?
Hangman