#include <iostream> #include <cassert> #include <vector> using namespace std; int main() { char name[] = "abcedfghijklmn"; vector<char> myVector(name, name + 6); vector<char> myVector2(myVector); // Uses copy constructor assert (myVector2 == myVector); return 0; }