Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
MSVC bug in __fastcall implementation !!!
#include <cstdio> template <class Char> void __fastcall foo(Char c = '\n'); template <class Char> void __fastcall foo(Char c) { printf("%d : %08X (expected %08X)\n", sizeof(c), (int)c, (int)'\n'); } int main() { foo<char>(); foo<wchar_t>(); foo<unsigned>(); }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Hangman
StreamParam
variable template not supported
hangman
Matrix_1
hangman
#8
problem_solution5
Memory example
Runner-mt
stackse - search stackoverflow differently
Please log in to post a comment.