Boost logo

Boost Users :

Subject: [Boost-users] use of boost::noncopyable ?
From: John M. Dlugosz (mpbecey7gu_at_[hidden])
Date: 2012-03-20 00:44:11


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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net