Hi Pierre-André, On Tuesday, 2011-09-13 19:52:23 +0200, Pierre-André Jacquod wrote:
The fact to change to class and use boost::noncopyable is an improvement not related to this point I guess,
Yes.
since before the copy-ctor and copy assignment would have worked with the struct.
Well, it would had worked by accident.. and not done the right thing. It would had copied pServicesSvr and the instance handles and refcount, all these would had been out of sync if the underlying real data changed. Eike -- PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication. Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3 9E96 2F1A D073 293C 05FD
Attachment:
signature.asc
Description: Digital signature