There is strong consensus that the c++ tag should be applied to all questions marked with the version specific tags c++98, c++03, c++11, c++14, c++17, c++20, c++23, and c++26.
This rule has been followed perfectly for the more recent tags c++23 and c++26, however, older language versions don't always follow this. Here are the numbers:
Tag | Total amount | Untagged amount | Percentage tagged |
---|---|---|---|
c++98 | 683 | 60 | 91.22% |
c++03 | 808 | 48 | 94.06% |
c++11 | 55,517 | 7,724 | 86.09% |
c++14 | 8,479 | 633 | 92.53% |
c++17 | 10,737 | 624 | 94.19% |
c++20 | 4,947 | 99 | 97.99% |
c++23 | 202 | 0 | 100.00% |
c++26 | 7 | 0 | 100.00% |
c++ (provided out of interest) |
799,812 | 730,589 (refers to C++ questions with no version tag) |
8.64% |
As you can see, there is a gradual consensus shift to always tagging the question c++ no matter the language version. This consensus is now unanimous and perfect for c++23 and more recent.
What's up with c++98 and c++03?
c++98 and c++03 are anomalies because developers prior to C++11 didn't think of the language as "C++98", they just thought of it as "C++", and no tagging was required. It is more likely for a question to have started out as c++ and to then have the c++98 tag added retroactively.
Why mass-tag these questions retroactively?
This makes questions more discoverable. You can simply search [c++] something
and it will bring up a C++ answer, regardless of the language version.
For questions tagged c++11, there is a 14% chance that this form of searching will fail, and that is unfortunate.
What if a question already has five tags?
In such a case, automatic tagging cannot be performed. However, it seems to be fairly rare that a question has e.g. c++11 and no c++ tag, but still has five tags in total.
Out of the 100 newest c++11 questions, 18 have five tags. If this pattern of ~20% generally holds true, it still means that the overwhelming majority can be tagged automatically with no tag removals.
Note that I'm not actually sure if there exists a system for these mass tag chances that can automatically add tags. If it is not possible, maybe it could be a useful community project to tag old gems that are missing c++.
c++* something
. Which would provide results from all versions (and some other non-version tags though)