From: Dean M. B. <mik...@gm...> - 2008-08-19 20:58:04
|
On Wed, Aug 20, 2008 at 3:54 AM, Glyn Matthews <gly...@gm...> wrote: > Hi Dean, > > 2008/8/19 Dean Michael Berris <mik...@gm...> >> >> In revision 69 of the http_integration branch, I've implemented swap >> and copy semantics in the base boost::network::message template as >> well as the derived types. >> >> >From now on every derivative of the boost::network::message that has >> their own state should implement a no-throw swap and copy constructor. >> >> In concept terms, every derivative of boost::network::message should >> be Swappable and CopyConstructable. :) > > and presumably Assignable? All tests run on g++ 4.3 on ubuntu. Ah, yes. Actually only the boost::network::message class is truly assignable -- I have yet to test the other derivatives on whether the assignment operators work for them. Expect these from me in the next commit. Oh, and I removed the needless 'const' from member functions and 'mutable' from member variables. It just complicates things IMO. ;) HTH :) -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |