[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: First Win32 Compile!



Christian Reiniger writes:
 > 
 > That is I do explicitly check for data loss.
 > 
 > It should be possible to do the check in a way that doesn't offend
 > compilers though.
 > 
 > BTW: the same situation exists for size and offset values.
Surely if you 
 > 
 > >Also, I've had to change the Name() method of a number of classes to get the
 > >const/unconst puzzle right. I have feeling that the Name() method really
 > >should be returning const char*'s rather than char*'s, and that it is the
 > >code that uses the return value as an unconst value that should be altered
 > >rather than the return type of Name().
 > 
 > I guess you're right.
 > 
 > >Btw, ever thougth about renaming accessor methods like Name() to GetName() ?
 > 
 > Yup. Later, when the updated coding standards are in place.
 > 
 > 
 > 	Christian
 > --
 > 
 > Drive A: not responding...Formatting C: instead
 > 
 > ---------------------------------------------------------------------
 > To unsubscribe, e-mail: penguinplay-unsubscribe@sunsite.auc.dk
 > For additional commands, e-mail: penguinplay-help@sunsite.auc.dk
 >