Question: Consider the class definition below: 1 class myClass 2 { 3 private: 4 int r: 5 double i: 6 public: myClass(int a, double b): r(a),
Consider the class definition below: 1 class myClass 2 { 3 private: 4 int r: 5 double i: 6 public: myClass(int a, double b): r(a), i(b) {} 8 };//end class myClass Modify the class to support class template
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
