C++ template operator<< issue
I’m having a hard time figuring out why this code won’t run. Can somebody help? I am trying to print all the information about the Phone objects with the info function which calls the operator<< for the device part of the phone object, but I’m pretty sure the issue lies in the way I redefined the operator<< for the Device class.