Run Code
|
API
|
Code Wall
|
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
Dequeue Using STL List
cv4_template
atoi on hex
Replace all spaces in a string in C++
C++ exception
VS struct_member_name
throwing an exception containing a unique_ptr is dangerous
sample ptr and obj ex
sinem çalışma
dynamic_cast in assert Causing Error