Opened 6 years ago

#12891 new Bugs

boost::signals::scoped_connection is copyable and the documentation says it is not

Reported by: thomas.sondergaard@… Owned by: Douglas Gregor
Milestone: To Be Determined Component: signals
Version: Boost 1.63.0 Severity: Problem
Keywords: Cc:

Description

The documentation for boost::signals:scoped_connection indicates that scoped_connection is noncopyable. This is not the case and it can lead the user into traps such as putting it in a std::vector with emplace_back().

At the very least the documentation should be fixed.

Change History (0)

Note: See TracTickets for help on using tickets.