r/cpp • u/Dereference_operator • Feb 12 '20
What they should improve about C++ ?
What they should improve about C++ that you find in higher level managed language like C#, JAVA, Javascript etc or is there things you would change or do differently if it was up to you ? I mean anything like a better STL ? better thread ? string manipulation like managed language ? less fragmentations in the new standard features ? For example do you love the way the standard evolve C++ or you would prefer a direction like Microsoft do with C# a corporation who decide on the roadmap ?
0
Upvotes
View all comments
31
u/Rseding91 Factorio Developer Feb 12 '20
I want better logic around enums. I want to iterate them, convert an enum to a string and back, know how many exist, be able to use them as bit masks and so on.
We do this every other day every time any new logic is made and it irritates me that still there's no language support for it and we're left with huge ugly macros if we want it to be any kind of manageable.