Re:Show HN: Smart pointers for the C programming language
by Snaipe on Wednesday January 14, 2015 @11:19AM
(#8887181)
Yup, these are just pointers, usage is still the same, and no cast/special functions are needed to manipulate them.
[ Parent
| on HN ]
Re:Show HN: Smart pointers for the C programming language
by TheLoneWolfling on Wednesday January 14, 2015 @11:40AM
(#8887312)
Well... you cannot call free on them, unless I'm mistaken. But other than that it's as normal.
(This could be a problem if you want to call library code that frees a supplied pointer)