Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
std::is_same doesn't check for calling convention
#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<decltype(a), decltype(b)>::value; }
run
|
edit
|
history
|
help
0
problem_soultion2
primitive type copy constructor
std::is_same doesn't check calling convension
C++ quine
Hangman
MSVC_example_GetAllocLength
What is the fastest/most efficient way to find the highest set bit (msb) in an integer in C?
hangman
Error log b is an undeclared identifier...
VS2013 hello world includes