Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
barrkel
on May 15, 2016
|
parent
|
context
|
favorite
| on:
Mistakes to avoid with C++ 11 smart pointers
Life is easy when there's an unambiguous single owner. Shared pointers are really for the harder situation where ownership is distributed. I prefer to use arenas if possible, when objects live in a complicated graph.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: