[zeromq-dev] [PATCH] add zmq::version to C++ API
Martin Sustrik
sustrik at 250bpm.com
Tue Mar 15 11:08:19 CET 2011
On 03/15/2011 10:39 AM, Pieter Hintjens wrote:
> Please find attached patch.
Thanks. Is there any reason why the arguments are passed by references
rather then by pointers? It makes the fact that they are actually out
parameters not obvious:
int major, minor, patch;
zmq::version (major, minor, patch);
vs.
int major, minor, patch;
zmq::version (&major, &minor, &patch);
Martin
More information about the zeromq-dev
mailing list