FWIW, I think this is a good idea. -Steve
> -----Original Message----- > From: Alan Conway [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 07, 2008 10:02 AM > To: qpid-dev > Cc: Gordon Sim; Andrew Stitcher > Subject: [c++] rename size() to encodedSize() for encodable types. > > > As a step towards using standard STL collection interfaces for things > like framing::FieldTable and Array, and towards greater clarity in > general, I'd like to rename size() for encoded types as encodedSize(). > size() is used in STL to mean the size of a container. Since > some of our > encoded types are also containers (FieldTable, Array), our > non-standard > use of size() and count() is confusing. > > I've got it done in a working copy. Anyone have objections? > > Diff attached. > > >
