HomeIO Articles about real life tech solution and HomeIO - an universal system for remote monitor and control

Shared pointers

Tags : HomeIO, Software, News

The best lazy solution to memory leak

Shared pointers allow me to utilize power of pointers without thinking about memory deallocation - delete function.

Overhead in that method is max 1-3% depends on compiler.

At this moment only ncurses related code is not using shared pointers.