Boost logo

Boost :

From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2007-07-20 16:23:57


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...

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk