3 ms·
More complexity than allocating/deallocating a struct for each link in the list? And the solution to "pointers to elements of a vector going bad" is don't save
by taneq 4y ago
More complexity than allocating/deallocating a struct for each link in the list?
And the solution to "pointers to elements of a vector going bad" is don't save pointers to elements of a vector.