[zeromq-dev] c++ api issues
Kelly Brock
Kerby at inocode.com
Thu Oct 21 01:22:29 CEST 2010
Hi,
> -----Original Message-----
> From: zeromq-dev-bounces at lists.zeromq.org [mailto:zeromq-dev-
> bounces at lists.zeromq.org] On Behalf Of Oliver Smith
> Sent: Wednesday, October 20, 2010 3:51 PM
> To: ZeroMQ development list
> Subject: Re: [zeromq-dev] c++ api issues
>
> Martin Sustrik said the following on 10/20/2010 7:09 AM:
> > I see no real way out.
> > However, what you can do is to write a simple wrapper that would use
> > zmq_msg_copy in copy constructor and provide that to be used by those
> > who care about storing messages in containers more than about extreme
> > performance.
> *Sniff* I smell a move constructor/assignment :)
> http://msdn.microsoft.com/en-us/library/dd293665.aspx
Have to be careful to detect the compiler though, only supported on
GCC 3.5ish +, VC10 and a few others. Won't work on Os X with the default
compiler install as of yet unfortunately.
KB
More information about the zeromq-dev
mailing list