On Tue, 2004-11-23 at 15:03, Alfredo Braunstein wrote: > Lars Gullik BjÃnnes wrote: > > > This patch adds NVI for the clone function, adds some guards on its > > usage. > > > > Also I try to make sure that we use and call insets in a uniform way. > > (through pointers mainly, to avoid slicing) > > What's slicing? > > Alfredo
It is that you lose members if you copy an object to another object of its parent type (which is legal). They get 'sliced off'. If you make both objects pointer types, this doesn't happen. http://www.awprofessional.com/articles/article.asp?p=26063&seqNum=3 - Martin
signature.asc
Description: This is a digitally signed message part