I try this
PHP Code:
StructX x=func();
while(
null!=(object)x)
{
   
//do something
   
x=anotherfunc(); 

This fails, so I say boxing is a flaw. If not, then how can I check for a null struct please?
Thanks