4 ms·
It seems the consensus is that new features like "auto" are not wanted: Principle 13: Unlike for C99, the consensus at the London meeting was that there should
by 21 11y ago
It seems the consensus is that new features like "auto" are not wanted:
Principle 13: Unlike for C99, the consensus at the London meeting was that there should be no invention, without exception. Only those features that have a history and are in common use by a commercial implementation should be considered
- Peaker 11y agoBummer. Oh well, at least typeof and compound expressions can be blessed?
- cremno 11y agoDo you really consider it an invention? I think they mean inventions done by the committee (like <locale.h>). ISO C++ has this feature. And so does GNU C via the __auto_type keyword (GCC 4.9 and clang 3.8). History is there but I doubt it's commonly used (in C yet).
- pcwalton 11y agoWell, does implementation in C++ count? The wording is ambiguous.
- TorKlingberg 11y agoThis means that you should convince a compiler maker to add your innovation as a C extension. When it has been tested that way for a while, it may be added to the standard.