The address of the contained Box is, in practice, the same as the address of the variant thanks to enum layout optimizations -- because the Box cannot be null, List is represented as null for LEmpty, and non-null for LList, with no separate discriminant needed.
Do you want the address of the box, or the address of the contents of the box?
Thank you a lot. I got it.
Actually, I wanted the address of the contents of the box as you said.
My first motivation was to see how it behaves when I clone a List object.
May I ask you how I can get the address of the contents of the box?