Click here to Skip to main content
15,895,667 members
Articles / General Programming / Memory Management

The Shared, The Unique and The Weak – Initialization – Part 2

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
22 Apr 2023CPOL6 min read 3.8K   1  
More about smart memory management in C++
This post discusses unique_ptr and weak_ptr constructors, initializers and usage examples, make_unique advantages and disadvantages, unique_ptr custom deleters usage examples and important notes to pay attention to.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Israel Israel
Senior C++ developer.
C++ Senioreas blog writer.
Passionate about investigating the boundaries and exploring the advanced capabilities of C++.

Comments and Discussions