Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
trying to find if reinterpret_cast preserves calling convention
#include <type_traits> #include <iostream> void * (__vectorcall *a)(unsigned); void * (__cdecl *b)(unsigned); using T = decltype(reinterpret_cast<char * (*)(unsigned)>(a)); using U = decltype(reinterpret_cast<char * (*)(unsigned)>(b)); int main() { std::cout << typeid(T).name() << '\n' << typeid(U).name() << std::endl; return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Computing factorial of an integer with recursion and iteration [EDIT]
Fibonacci stairs
cv3
lab1
infix to postfix v 3.0
MSVC_example_GetAllocLength
C++ quine
VC++ latest rejects istream to nullptr comparison
#27
ambiguity does not count as ambiguity
Please log in to post a comment.