5 ms·
Given how important backwards compatibility is for C++, it's either take over a basically unused keyword or come up with something so weird that would never app
by maleldil 2y ago
Given how important backwards compatibility is for C++, it's either take over a basically unused keyword or come up with something so weird that would never appear in existing code.
Java solved this by making var a reserved type, not a keyword, but I don't know if that's feasible for C++.