[zeromq-dev] more on c++ api
Martin Sustrik
sustrik at 250bpm.com
Fri Oct 29 14:10:40 CEST 2010
Hi Burak,
> From 1757294e122a5563133812dc0711af94b9f5fa54 Mon Sep 17 00:00:00 2001
> From: Burak Arslan<burak-github at arskom.com.tr>
> Date: Wed, 27 Oct 2010 19:34:23 +0300
> Subject: [PATCH 1/3] switch to c++-specific headers
>
> Signed-off-by: Burak Arslan<burak-github at arskom.com.tr>
> ---
> include/zmq.hpp | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/zmq.hpp b/include/zmq.hpp
> index 86ffff6..01e539e 100644
> --- a/include/zmq.hpp
> +++ b/include/zmq.hpp
> @@ -22,8 +22,8 @@
>
> #include "zmq.h"
>
> -#include<assert.h>
> -#include<string.h>
> +#include<cassert>
> +#include<cstring>
> #include<exception>
>
> namespace zmq
> -- 1.7.2.2
Ok. Applied. Thanks!
As for the remaining features, my thiking is this: For historical
reasons the C++ API is now part of 0MQ core and thus it should be kept
as simple as possible to minimise maintenance burden, compatibility
problems etc.
However, in the long run, it should be a separate project. So what about
starting a new project and adding all those features there?
Later on, presumably with 0MQ/3.0, the in-core C++ API can be dropped as
obsolete.
Martin
More information about the zeromq-dev
mailing list