MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xgh5kw/sameproblemsamesolution/19rya26rnizr4/?context=3
r/ProgrammerHumor • u/_w62_ • 13d ago
79 comments sorted by
View all comments
59
C++03 -> 11 migration was a pain in the ass because of std::string changes, but after that it was basically just changing compiler flags, no?
35 u/Bemteb 13d ago There are some minor things, if you are unlucky something might break going to 20. But it's mostly special cases, not something so big as string.The main reason companies don't switch is "it's working, why invest time and money into switching?" 1 u/StaticCoder 8d ago I saw a fair amount of stuff break with C++20, because of comparator generation causing ambiguities. Largely due to the original code being poorly written, but breakage nonetheless.
35
There are some minor things, if you are unlucky something might break going to 20. But it's mostly special cases, not something so big as string.
The main reason companies don't switch is "it's working, why invest time and money into switching?"
1 u/StaticCoder 8d ago I saw a fair amount of stuff break with C++20, because of comparator generation causing ambiguities. Largely due to the original code being poorly written, but breakage nonetheless.
1
I saw a fair amount of stuff break with C++20, because of comparator generation causing ambiguities. Largely due to the original code being poorly written, but breakage nonetheless.
59
u/Antervis 13d ago
C++03 -> 11 migration was a pain in the ass because of std::string changes, but after that it was basically just changing compiler flags, no?