44

A (Better) Taxonomy of Pointers

5 years ago
ian $IfcjUdO4ZR 2

https://foonathan.net/blog/2018/06/01/pointer-taxonomy.html

At C++Now 2018 I gave a talk about rethinking pointers: https://foonathan.net/cppnow2018.html.

I highly recommend you check it out, even if you watched the similar talk I gave at ACCU, as that version is a lot better. It rediscovers and discusses the common guidelines about when to use references over pointers, when smart pointers, etc.

If you’re an expert, you might get a deeper meaning from the structured analysis. And if you’re a beginner, you get the condensed guidelines.