Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
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
#19
ADL of operator expression & unqualified function call
Operators overloading
ntohl
default
DCapSurfaceDesc
Spirit Lex combining token_id's with semantic actions
!Enum
cross-platform sleep function
Templatized Visitor Pattern Example