memesearch
GCC Extensions Roast MSVC Users

GCC Extensions Roast MSVC Users

Download Find similar pictures
Text on the meme
10 #define init(class, ...) S(class, init, __VA_ARGS__); 11 12 // GCC extensions, fuck you MSVC users 13 // This will segfault if you're calling a function not in the vtable 14 #define C_(obj, func, ...) ({ __auto_type o = obj; \ 15 vtableFn* fun = vtable_lookup(o->v, #func); \ 16 fun(o __VA_OPT__(,) __VA_ARGS__); })
What it means

A dark-themed code editor shows C/C++ preprocessor code defining an initialization macro and a call helper, with the comment “GCC extensions, fuck you MSVC users.” The joke is a boastful, profane jab at Microsoft Visual C++ users, celebrating compiler-specific GCC extensions while warning that the code will segfault if the function is absent from the vtable. It is used as a reaction to overly clever, non-portable programming.

Objects
Tags
Source
Type
image
Size
800×200 · 26.7 KiB
Mood
sarcastic, profane
Language
en
Added