Closed Aniurm closed 11 months ago
after further looking into this example, it does not seem valid? clang-tidy should complain that s2 being used after std::move... probably we will fix this example in future semesters without merging this pull request. anyways, thanks for the contribution!
all these things are right, ty for typo fix (although I was rereading these bc i was sick and then noticed them so then i think i fixed most of these errors)
in
src/shared_ptr.cpp
There are some typos in comments.
After
modify_ptr_via_rvalue_ref(std::move(s2));
, s2 should havey = 645