21 Aug
2014
21 Aug
'14
4:58 p.m.
Andrey Semashev wrote:
By the way, one of the use cases where noncopyable failed for me was a wrapper around pthread_mutex_t offering a C++ interface for the mutex but still allowing the aggregate initialization. There were probably other cases, I just remembered this one for some reason.
This is a good example; I tried that with the new implementation out of curiosity, and it doesn't seem to work. It would have helped the cause had it worked. :-)