| 16 | } |
| 17 | |
| 18 | int main() |
| 19 | { |
| 20 | Array<Array<std::string>> array_of_arrays; |
| 21 | |
| 22 | Array<std::string> array{ buildStringArray(1'000) }; |
| 23 | array_of_arrays.push_back(array); // Push an lvalue |
| 24 | |
| 25 | array.push_back("One more for good measure"); |
| 26 | std::cout << std::endl; |
| 27 | |
| 28 | array_of_arrays.push_back(std::move(array)); // Push an rvalue |
| 29 | } |
nothing calls this directly
no test coverage detected