7 ms·
Of course we do. You still need to know how pointers work to use RAII effectively, though.
by junon 5y ago
Of course we do. You still need to know how pointers work to use RAII effectively, though.
- pjmlp 5y agoNot at all, because RAII is about constructors/destructors, and not at all about pointers. Heap allocated data is one special case of OS resources that can be managed by constructor/destructor pairs.