27 Apr
2017
27 Apr
'17
12:21 a.m.
On 27/04/2017 11:23, I wrote:
If your data members aren't the reason you're constraining movability, then why do it at all?
Incidentally, including a mutex in the class members (which is probably fairly common in multithreaded applications or libraries) also inherently constrains the class; mutexes (whether std::mutex or from Boost.Thread) are also neither copyable nor movable, and these traits pass on to the containing class by default.