Il 31/05/2012 10:30, Markus Armbruster ha scritto:
>> > Makes much sense, but maybe it should be done in OBJECT() cast? Assert
>> > when we do OBJECT(NULL).
> In my opinion, OBJECT(p) where p is a null pointer is perfectly valid
> and should yield a null pointer.

Perhaps object_dynamic_cast and object_dynamic_cast_assert should do the
same?

Paolo

Reply via email to