Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-11-01 01:50:04

The docs for scoped_connection seem to be wacked as well. For example,
its destructor docs are:

    Effects: this->disconnect()

Aside from the name, this can't be right. AFAICT from the docs (which
ain't much), scoped_connection implements shared ownership of the
connection object.

Oops, I'm wrong! Looking at the implementation, though it is copyable
the first copy which gets destroyed kills the connection. I can't
understand why anyone would want these semantics. This class makes no
sense to me the way it's implemented.

                    David Abrahams
dave_at_[hidden] *

Boost list run by bdawes at, gregod at, cpdaniel at, john at