On Tue, Mar 20, 2012 at 4:44 AM, John M. Dlugosz <mpbecey7gu@snkmail.com> wrote:
1>V:\Trunk\stable\src\Include\Tools/unique_RAII.h(61): error C2248: 'boost::noncopyable_::noncopyable::operator =' : cannot access private member declared in class 'boost::noncopyable_::noncopyable'
....
This diagnostic occurred in the compiler generated function (the normal copy constructor)
That kind of defeats the purpose, doesn't it? I have to declare a dummy copy constructor to get the class to compile.
If I haven't missed the point of your post I think that's exactly what it's supposed to do. The mention of 'noncopyable' in the
error message is the hint.
HTH
- Rob.