(j3.2006) (SC22WG5.3967) question about deallocation

Reinhold Bader Reinhold.Bader
Mon Mar 30 07:43:59 EDT 2009


Hello,

Robert Corbett schrieb:

> 
> If my example code is not standard-conforming, it is harder to use
> polymorphism to effectively implement discriminated unions than some
> have claimed.

Having looked up what a "discriminated union" is I get the impression that
this functionality is more or less what unlimited polymorphic entities
provide. Your fragment was insufficient for me to guess what scheme
you had in mind ...

>  If it is standard conforming, the rules for applying
> finalizers are unclear at best and broken at worst.
> 
> Bob Corbett
> 
Regards
Reinhold



More information about the J3 mailing list