Closed

Description
This question is asked pretty frequently, so it's good to have something to point users to.
- Exposing value types through
FromVariant
andToVariant
. - Exposing operations on those types, e.g.
Eq
, through helper methods on a auto-load script. - Exposing opaque types / types with behaviors through wrapper classes.
- Factory auto-load to work around the constructor argument problem.