Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mike-cardwell
on Feb 7, 2014
|
parent
|
context
|
favorite
| on:
Simple Dynamic Strings library for C
And of course, you don't even need to explicitly free heap-allocated objects if you're using C++11 smart pointers like shared_ptr and unique_ptr.
dllthomas
on Feb 7, 2014
[–]
... mostly. Much like in a garbage collected language, you need to make sure you are no longer referencing things when you want resources to be freed, but it does make the worst case much harder to run into.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: