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