
20 Jul
2007
20 Jul
'07
8:23 p.m.
Phillip Hellewell wrote:
Actually I don't want to copy a mutex. I just want my class that has a mutex to be copyable, without having to write a copy ctor and operator= (that copy everything except the mutex).
It's hard to tell without talking about the semantics. What about your class (instance) do you want to copy ? And what should happen if, at the time you attempt to copy, the mutex is locked ? Regards, Stefan -- ...ich hab' noch einen Koffer in Berlin...