[zeromq-dev] [PATCH] C++11 move constructor/assignment operator for socket_t and context_t

Botond Ballo botond_ballo at yahoo.ca
Sun Nov 20 00:05:43 CET 2011


> From: Mikko Koppanen <mikko at kuut.io>

> 
> the pull request looks good. I added a few comments about indentation
> in the pull request. 

Fixed.

> I wonder if it would make sense to even add a
> test in to the build so that this functionality would automatically
> work if supported by the compiler. 

That would be nice. I'm not sure how to do that though...

> I'm wondering this preprocessor
> definition: __GXX_EXPERIMENTAL_CXX0X__ and whether GCC is going to
> change that when C++11 is stable.

They will keep it around for backward compatibility. 
See http://gcc.gnu.org/ml/gcc/2011-09/msg00217.html.

Best regards,
Botond




More information about the zeromq-dev mailing list