On 2024-02-20 08:42, Randy Brukardt wrote:
Surely. But I think his question was not about untagged discriminated record types per-se, but rather about derived untagged discriminated record types with changed discriminants.
There are also uses for derived record types, but I agree that I've never had a use for derivation with changed discriminants.
-- Jeff Carter "[B]ecause of our experience in security, we are convinced that C is too error-prone. Its loose typing, its unsafe bitfields management, too many compiler dependent behaviors, etc. easily lead to vulnerabilities." EwoK developers 163
