devilish666@lemmy.world to Programmer Humor@lemmy.ml · 6 months agoTrue Storylemmy.worldimagemessage-square11fedilinkarrow-up13arrow-down10
arrow-up13arrow-down1imageTrue Storylemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 6 months agomessage-square11fedilink
minus-squareunalivejoy@lemm.eelinkfedilinkEnglisharrow-up0·6 months agoWhy does your header file contain code?
minus-squareSonotsugipaa@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up0·6 months agoIt’s not the case with this meme, but in C++ template definitions have to be defined in the headers if they’re not full template specializations
minus-squareSkullgrid@lemmy.worldlinkfedilinkarrow-up0arrow-down1·6 months agoOh for fuck sake. I thought the full on retardation hadn’t spread to c.
Why does your header file contain code?
It’s not the case with this meme, but in C++ template definitions have to be defined in the headers if they’re not full template specializations
Oh for fuck sake. I thought the full on retardation hadn’t spread to c.