跪求大神!
Goal:
- use of static/dynamic binding
- using STL collections
- operator overloading
- optimize your code
Task:
Make the necessary changes to be able to populate a STL vector with both Vehicles and Solarcars. Overload the << operator for Vehicle. When you call info() or use << you should see the right information appearing.
Use all your current knowledge on C++ to optimize your code. Think about calling methods, return types, need to define constructor, destructor, copy-constructor, assignment operator...
求大神翻译一下