Shortest code a+b
@Peter87
I think it's fine to call operator<< and operator>> on the temporaries because they are class members.
|
Yes it depends on whether operator >> or operator << is a class member or a stand-alone function.
Topic archived. No new replies allowed.