Skip to content

chrisxu333/my_smart_pointer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Naive implementation of C++ smart pointer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published