Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
reverius42
on Oct 24, 2013
|
parent
|
context
|
favorite
| on:
Deep C and C++ (2011)
It has a constructor (to initialize the resource), a destructor (to release the resource), copy/move constructors, and lets you get access to the underlying resource. See
http://en.cppreference.com/w/cpp/memory/shared_ptr
for an example.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: