@[email protected] to Programmer [email protected] • 3 months agoTrue Storylemmy.worldimagemessage-square32fedilinkarrow-up1245arrow-down115
arrow-up1230arrow-down1imageTrue Storylemmy.world@[email protected] to Programmer [email protected] • 3 months agomessage-square32fedilink
minus-square@[email protected]linkfedilink5•3 months agoYep, first thing that comes to mind is that header only classes need to use inline functions.
minus-square@[email protected]linkfedilink5•edit-23 months agoMember functions that are defined within a class definition are implicitly inline
minus-square@[email protected]linkfedilink3•3 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.