[Ace-users] [ace-users] [ace-bugs] A problem with copying ACE_Handler

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Thu Nov 8 20:18:17 CST 2007

Hi Juraj,

> It is my opinion that the author thought of the ACE_Handler as a
> noncopyable and nonassignable class, but did not explicitly made it
> such.

Yes, I agree with you!

> I can't think of a good example why copying this class would be useful
> (I did it accidentaly) so I would merely add private declarations for
> the assignment operator and copy-constructor. Doing so will expose
> ACE_Handler misuse at compile time. This will hardly break any
> existing code (at least any _working_ existing code :) ).

That sounds good to me - I've added this for the next beta release!



More information about the Ace-users mailing list