In c++ what do you call function that follows a member function and modifies the return value and how do I write one?
In other words how do I successfully write:
std::cout << box.getVolume().inCubicFeet();
std::cout << box.getVolume().inCubicCentimeters();
Aucun commentaire:
Enregistrer un commentaire