Will the next version of the C programming language (C2y) include a "defer" feature?
3
1kṀ622029
53%
chance
1D
1W
1M
ALL
"defer" would allow programmers to specify cleanup code that is run when the scope is left for any reason, see https://thephd.dev/c2y-the-defer-technical-specification-its-time-go-go-go. A similar feature for the same purpose would also count, for example gcc's "cleanup" attribute or something like try/finally.
Resolves to whether this is included in the next (sixth) edition of ISO/IEC 9899. The close date will be extended if necessary, but it can be resolved as soon as the committee has finished the standard, even if the official publication takes longer.
This question is managed and resolved by Manifold.
Get
1,000 to start trading!