On Fri, May 25, 2007 at 04:34:51AM -0600, Brian Edginton wrote:
> > The hierarchy I've done before had virtual operator=() functions, which
> > is probably most of the reason why it was so much work (you could
> > copy any object correctly, even through a base pointer).  But I still
> > favour simple record classes, just to make them absolutely bulletproof
> > from the application's perspective.  They should be able to toss
> > these things around with no fear.
> 
> Okay. Not the way I would have gone (obviously :)) but I have no problem 
> following your lead. When I had indicated that was my direction and heard 
> nothing back I figured it was a go.

That was for a completely different project at the time, and seemed
to make sense then. :-)


> Easily enough done with class hierarchy. There are enough member functions 
> being duplicated and what looked liked a bunch of opportunities for 
> refactoring.

I am open to hearing your ideas for a hierachy refactoring.  Perhaps
it is easier to explain with an email overview.

My biggest concern is STL container safety, and I know that can be done
with a class hierarchy, I just wanted to keep things simple, and I
figured helper classes or functions were still a valid route.  I still
prefer that, but can be convinced otherwise.


> Ha. Good enough. You might want to figure out a way we can better indicate 
> what is being worked on, or needs to be done next. I've spend a couple hours 
> on this so its not a big deal now - but I'm glad you mentioned something 
> before the 3 day holiday down here this weekend ;)

Just post to the list and say "I'm working on X" and I'll do the same.
Then just checking our email will let us know where we're at.


> P.S. I think you should apply my <class Record> to <class RecordT> patch 
> anyway to make the code a bit more consistent.

Will do.  Some of those templates were quick and dirty internal .cc
things, and RecordT does make more sense.

Thanks,
- Chris


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to