Im using a book that quote this as a copy operation used to return a reference as a value, but i dont understand how it works, and how i would be used...
Thanks!:confused:Code:TimeOfDay createTimeOfDay (int hours, int minutes) {
TimeOfDay timeOfDay (hours, minutes);
return timeOfDay;}