devilish666@lemmy.world to Programmer Humor@lemmy.ml · 8 months agoTrue Storylemmy.worldimagemessage-square33fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imageTrue Storylemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 8 months agomessage-square33fedilink
minus-squareBeigeAgenda@lemmy.calinkfedilinkarrow-up0·8 months agoYep, first thing that comes to mind is that header only classes need to use inline functions.
minus-squarebrisk@aussie.zonelinkfedilinkarrow-up0·edit-28 months agoMember functions that are defined within a class definition are implicitly inline
minus-squareBeigeAgenda@lemmy.calinkfedilinkarrow-up0·8 months agoAh I see now that I mixed it up with classless functions in a header.
Yep, first thing that comes to mind is that header only classes need to use inline functions.
Member functions that are defined within a class definition are implicitly
inline
Ah I see now that I mixed it up with classless functions in a header.