class Mutex
{
+ /// noncopyable
+ Mutex(const Mutex&);
+ Mutex& operator=(const Mutex&);
public:
Mutex();
~Mutex();
Locker& operator=(const Locker& rhs);
Mutex* mutex_;
};
-
-
- // pseude-value semantic
- // needed by GuiPrefs which makes a copy
- Mutex(const Mutex&);
- Mutex& operator=(const Mutex&);
private:
struct Private;