Hi All,
Could you let me know about books that explains the ideas of smart pointer very clearly (beginner, intermediate and advanced level)?
Thank you.
Hi All,
Could you let me know about books that explains the ideas of smart pointer very clearly (beginner, intermediate and advanced level)?
Thank you.
Scott Meyers has an a few items on it. You might not need a whole book.
This one illustrates the old smart pointers (from the stl) and the new ones from boost -- in adequate detail.
p.s., if your new to C++ you might want to skip this book as it's not worth buying it for just one article.
A good starting place might be this Wikipedia article, Smart Pointers.
A little more advanced, the book Modern C++ Design has a lot of worthy content. Luckily enough for you the chapter about Smart Pointers is available online. Take note however, that this is about the functioning and design, not only about usage, so should be treated as advanced level.