15445-bootcamp
15445-bootcamp copied to clipboard
A basic introduction to coding in modern C++.
the source file of the `std::set` guide is `sets.cpp` but, it was incorrectly writen as `set.cpp` in the `README.md`
As it turns out, the C++ standard guarantees that a delete against a null pointer is a no-op. From https://en.cppreference.com/w/cpp/memory/new/operator_delete: > In all cases, if ptr is a null pointer,...
https://github.com/cmu-db/15445-bootcamp/blob/b5064030f80b1c6a994893c62fefd6c1adea137c/src/shared_ptr.cpp#L128 y should be 645 here according to the result and the context?
https://github.com/cmu-db/15445-bootcamp/blob/e2d462b821e29440da1f038e61589866c32d9dad/src/shared_ptr.cpp#L79-L80 Might use copy-constructor here?
https://github.com/cmu-db/15445-bootcamp/blob/main/src/namespaces.cpp#L48-L62 The comment in the code snippet suggests that calling spam without qualifying it as ABC::spam would result in a compilation error, which is not accurate in this context. The...
Fixed the comment for the nested namespace ABC::DEF