Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 598 Bytes

README.md

File metadata and controls

7 lines (5 loc) · 598 Bytes

Naive implementation of C++ smart pointer

GitHub GitHub last commit

Current implementation includes my_shared_ptr and my_unique_ptr, which are all thread-safe. However, there're still some interfaces that are missing from the code, such as overload bool, swap function, implicit conversion prevention, I even want an auxilary class that contains functions like make_shared.

Anyway, feel free to use this as a toy library and PR is very much welcome!