Library for safer and easier pointers

15 Jan 2015

There's a new library[1] for c(but requires the gcc compiler) that offers smart pointers(pointers that deallocate themselves when needed, automatically). That's now new - such stuff existed in c++ for quite a while and does make development easier and prevent a few hard to track bugs.

What's nice about this library is that it uses regular pointers and a compiler directive so it's compatible with regular pointers and current mbed code.

I hope it'll be of use.

[1]https://github.com/Snaipe/c-smart-pointers

15 Jan 2015

Thanks for sharing, I glanced at it, pity is only for gcc as its using cleanup attribute. Therefore won't compile in the online IDE, but usable offline