3 ms·
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 l
by obiterdictum 15y ago
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