ParentFull threadcrumbshot·Or even better in this particular case, using std::variant to provide type-safe unions.View on HN