Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
multiply linked list numbers
Copy_and_base
Static cast of Enum
Test
Fibonacci stairs
operator/function lookup
multiplie linked list numbers
Matrix paths right-down only, going through XY
VC++ windows exception
Even Odd
Please log in to post a comment.