2011/7/27 Fabian Wiesel <fabian [dot] wiesel [..] ...>:
> Currently one cannot serialise objects with a virtual destructor
> May I suggest the following changes:
> Move common code (createStream) to a free function in detail namespace.
> MQTemplateProtocol: Changed the constraint from !has_virtual_destructor to
> as no virtual destructor isn't sufficient constraint for memcpy.
> According to the boost-documentaton, the type_trait only works for gcc 3.3
> since boost 1.46, but I have boost 1.42.1 and it works.
> MQSerializationProtocol: Do not derive MQSerializationProtocol from
> MQTemplateProtocol, as the constraints of the latter have to be more strict
> than the former.
It looks fine to me although I can't assess the effects of this change
on code external to RTT (aka rtt_typelib). I'd feel more confortable
if Sylvain approved this too.
Orocos-Dev mailing list
Orocos-Dev [..] ...