Daily Shaarli

All links of one day in a single page.

2015 M07 31

Implementing smart pointers for the C programming language

attribute ((cleanup(f)): according to the documentation, this variable attribute would call the function f on the variable before exiting the current scope.
I was delighted.