Re: Weird malloc behaviour



Barry Schwarz <schwarzb@xxxxxxxx> writes:

<snip>
... A few of the common correct uses of a cast are:

I'd add: passing a T ** (or a T *const *) to a function that wants a
const T *const * parameter.

--
Ben.
.