Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
obiterdictum
on May 7, 2011
|
parent
|
context
|
favorite
| on:
Exception Safety, Garbage Collection etc. (a.k.a. ...
There isn't. There are two explicit methods to get raw pointer value with different semantics:
- get(): auto_ptr retains the ownership
- release(): auto_ptr loses the ownership
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
- get(): auto_ptr retains the ownership
- release(): auto_ptr loses the ownership