Disambiguate the storage class of some compound literals
Résumé
We noticed that there is a need for clarification about the storage class of compound literals that are evaluated in the type expressions of function parameters. It turned out that clang has them as static storage duration while gcc has them as automatic. We asked WG14 to clarify this situation and consensus (13-0-8) has been reached that it should be specified as
automatic. This paper implements that change.
Domaines
Langage de programmation [cs.PL]
Origine : Fichiers produits par l'(les) auteur(s)