3 ms·
> Or were you asking if it leaks memory? yeah, If variable c where of type void* instead of duck<Container>, the assignment on line 13 would leak the memory u
by schaefer 3mo ago
> Or were you asking if it leaks memory?
yeah,
If variable c where of type void* instead of duck<Container>, the assignment on line 13 would leak the memory used by the vector<int>.