Question: myString_vector is a class with a myString struct. What are the functions like push_back and reserve operating on? It seems to me like I need
myString_vector is a class with a myString struct. What are the functions like push_back and reserve operating on? It seems to me like I need to make a linked list but I dont see how this would do it. // Initialization by a list of values. // Ini tialize the vector with a brace enclosed sequence of String values. // Example: /I myString vi("a", "b" "c"; /I mystring_vector::myString vector(std: initializer, Jist cmystring> list) base(), last), limit() //reserve(list.size()) // for (myString const& s: list) //push_back(s); mystringVector vi ("a", "b", "c
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
