Table of Contents
实现C++11新特性智能指针
# make:
sh make.sh
# run:
sh run.sh
This is an example of how to list things you need to use the software and how to install them.
- cmake3.8+
- gcc9+
shared_ptr
- ✔️ 各类构造析构
- ✔️ 重载
->
- ❌ 重载运算符
<<
- 🚧
reset
函数实现 - ❌
make_shared
函数友元 - ❌
deleter
函数自定义 - ❌
unique
函数实现 - ❌ 解决使用相同指针来构造不同智能指针对象的问题
unique_ptr
- [ ]
- [ ]
weak_ptr
- [ ]
- [ ]
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch
- Commit your Changes
- Push to the Branch
- Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
email: [email protected]