Zapping memory and C++ compatibility

Luke Howard lukeh at
Sat Nov 21 08:23:26 EST 2009

On 21/11/2009, at 1:51 PM, Derek Atkins wrote:

> I think the problem is that you cannot use a C-style cast to cast an
> object to a void* pointer in C++.  You might need to use a  
> 'static_cast'
> to do so, which means you might need to do something like:

I don't know what the spec says, but in my brief foray into C++ with  
OpenSAML, C-style casts work fine.

-- Luke

More information about the krbdev mailing list