News for hackers. Stuff that matters.
Re:Why should I have written ZeroMQ in C, not C++ (2012) by kllrnohj on Thursday December 13, 2018 @12:44PM (#18674291)
Replace the pointer with a value type and now you'd see why the optional is necessary.

Similarly I'd probably substitute the optional with a variant that has the actual error code. Go nuts with whatever you want here.

Re:Why should I have written ZeroMQ in C, not C++ (2012) by Koshkin on Thursday December 13, 2018 @03:18PM (#18675655)
> Go nuts

Let's make error code optional, too.