Hi, On Thu, Dec 24, 2009 at 10:25:47PM +0200, Sergiu Ivanov wrote:
> Still, I somehow feel bad about copying from a pointer without doing > an extra check. Would it be an acceptable idea to assert (name) ? Sure: if you think that something *should* be a certain way (non-NULL in this case), but want to protect against the possibility that the assumption was wrong after all, because of something that was overlooked -- that's precisely what assert() is for :-) -antrik-