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.
MSVC14 <exception> header
sharedptr emptiness
CStringA
MSVC lambda bug
Program of cube
VS struct name enumerate
Fast sine to fill array (sin/cos pair)
Copy elision sample modern C++
Unicode_write2file
Computing the factorial of an integer using factorial and iteration
Please log in to post a comment.