| 12 | } |
| 13 | |
| 14 | int main() |
| 15 | { |
| 16 | Array<std::string> strings { 123 }; |
| 17 | strings = buildStringArray(1'000); // Assign an rvalue to strings |
| 18 | |
| 19 | Array<std::string> more_strings{ 2'000 }; |
| 20 | strings = more_strings; // Assign an lvalue to strings |
| 21 | } |
nothing calls this directly
no test coverage detected