Re:Why should I have written ZeroMQ in C, not C++
by jmq on Friday May 11, 2012 @12:31AM
(#3957654)
You can reduce verbosity of the code by passing destructor function directly to unique_ptr constructor:
[ Parent
| on HN ]
Re:Why should I have written ZeroMQ in C, not C++
by evincarofautumn on Friday May 11, 2012 @12:40PM
(#3960065)
Cool, thanks for the tip. I meant to offer an example for the general case.