cs246e-notes
cs246e-notes copied to clipboard
Object oriented programming notes
Results
3
cs246e-notes issues
Sort by
recently updated
recently updated
newest added
increaseCap() might create a new vector base if it needs to grow, and so we should calculate the offset first. That way, we have avoid having possibly undefined behavior from...
These methods should be inside the namespace, because inside the `vector.cc` snippet after it, we are using `CS246E::make_vector` instead of just `make_vector`. https://notes.sibeliusp.com/pdf/1189/cs246e.pdf can be a reference of the same...