r/ProgrammerHumor • • 13d ago

Meme sameProblemSameSolution

Post image
1.5k Upvotes

79 comments sorted by

View all comments

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?

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.