You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some types need to run code when they are freed, for example smart pointers decrementing their reference counts. This means all types need the opportunity to register a destructor, because they may contain a (for example) smart pointer.
We should provide a destructor for sum types, which recursively invokes the destructor of each field of the variant.
The text was updated successfully, but these errors were encountered:
Originally raised by @doug-q:
Some types need to run code when they are freed, for example smart pointers decrementing their reference counts. This means all types need the opportunity to register a destructor, because they may contain a (for example) smart pointer.
We should provide a destructor for sum types, which recursively invokes the destructor of each field of the variant.
The text was updated successfully, but these errors were encountered: