Boost logo

Boost Users :

Subject: [Boost-users] [Signals] Is connection::disconnect() "const-correct"?
From: Greg Hickman (ghickman_at_[hidden])
Date: 2011-05-03 22:21:43


For a connection 'c', if c.connected() == true prior to calling

    c.disconnect();

after which c.connected() == false, how can connection::disconnect() be
considered a "const" member function since it clearly changes the observable
state of a connection?



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