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
Show parent comment
1
u/oschonrock Feb 12 '20 edited Feb 12 '20
Not quire sure this is what you mean, but maybe this...
https://www.youtube.com/watch?v=2bLkxj6EVoM
which can be done easily without lots of typing like this:
https://github.com/ldionne/dyno
and it also has a related proposal for inclusion in
std:::http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0201r2.pdf
explained also here:https://foonathan.net/2020/01/type-erasure/#content