By using this site, you agree to this use. See details.
Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
Note that the implementation you had to refactor does not delete the elements in the vector properly. By using any you don't have to worry no
delete is needed.