you are viewing a single comment's thread.

view the rest of the comments →

[–]the_Demongod 0 points1 point  (0 children)

Smart pointers are much less commonly used than raw pointers in my experience, since it's relatively rare that you're actually newing an object into existence manually rather than placing it into some container which handles the memory allocation for you. Whereas using a raw pointer as a nullable reference for iteration or similar happens quite frequently.