@devilish666 to Programmer [email protected] • 11 months agoTrue Storyimagemessage-square32arrow-up1240arrow-down114
arrow-up1226arrow-down1imageTrue Story@devilish666 to Programmer [email protected] • 11 months agomessage-square32
minus-square@[email protected]linkfedilink33•11 months agoLooks like we’ve got a Java programmer here taking C++ for a spin.
minus-square@[email protected]linkfedilink5•11 months agoYep, first thing that comes to mind is that header only classes need to use inline functions.
minus-square@[email protected]linkfedilink5•edit-211 months agoMember functions that are defined within a class definition are implicitly inline
minus-square@[email protected]linkfedilink3•11 months agoAh I see now that I mixed it up with classless functions in a header.
Looks like we’ve got a Java programmer here taking C++ for a spin.
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.