Boost logo

Boost Users :

Subject: Re: [Boost-users] use of boost::noncopyable ?
From: Igor R (boost.lists_at_[hidden])
Date: 2012-03-21 03:18:30

> I interpreted the error, which cited the class itself and not anything in my
> code that uses the class, to mean that the auto-generation was not
> suppressed at all and in fact prevented it from being successful rather than
> silently being not generated.
> It turns out that something in my code did want the assignment, so the class
> "did its job" but was totally unhelpful in telling me where in the code this
> was.

To get more helpful error, declare a private copy-ctor & assignment
operator in your class - and you'll see who attempts to copy.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at