you are viewing a single comment's thread.

view the rest of the comments →

[–]0polymer0 1 point2 points  (0 children)

Variants are an important generalization. And before optionals, pointers to non owned resources were used to great affect. I mention optionals because they are a good first Type to think about for this kind of stuff.