One of the biggest features I want to see is the ability for an array to hold multiple types. Would make it easier to return a bunch of different types of information from a function.
There's always workarounds, but nothing beats just returning an array containing all the values.
Yes I use std::tuple. I like it, but its not as convenient. Don't like the "std::get<>" syntax much. You can't add more elements to it easily as you could something like a vector.
I was thinking similar to a Python array which could easily hold and deal with multiple types.
I don't think this kind of thing will ever come to C++ though.
That actually seems pretty neat, I haven't used std::variant before. I might mess with that later.
But it seems more like for fun or something to use in a pinch rather than a real convenient solution.
Also, tuples can be concatenated, so I guess one could go with the idea of: this tuple plus some combination of these other tuples.
There may be some wrapper one can build around these features to create something highly convenient, but it would end up being really slow I imagine.