
5 May
2011
5 May
'11
12:50 p.m.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, May 04, 2011, Greg Hickman wrote:
I agree that a connection has reference semantics and that connection::connected() therefore returns information about the thing being referenced (as opposed to the handle itself). According the logic above, however, doesn't the fact that connection::block() is non-const seem inconsistent? In other words, it would seem that connection::disconnect() and connection::block() should both be either const or non-const for consistency.
Yes, I agree. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk3CnREACgkQ5vihyNWuA4UliQCdGGHYOcxhq3qLKZr993GYJPgz 1/IAn0Xk/0nMxT1E08zqssVEaRZBH6Y4 =7Bt8 -----END PGP SIGNATURE-----