Run Code
|
API
|
Code Wall
|
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
print adapted struct
VC++. G3log timestamp formatting.
Number of paths in matrix
#30.3
For NULL-embedded strings, CStringT::Find() produces what you may not expect
template test
program_solution_3
#9
Chord Note Finder
C++ standard violation: [templates][explicit instantiation][access checking]