What would be the best way to have a sort of vector-map-style system where You could add and use variables by name, each with its own type?
It might not seem like it make sense, but I was hoping to do it in an easier way than having to have a map for each variable type. This also makes it hard to have custom data types.
How would you all approach this?
Just a little more info; I am essentially trying to make something that can take some C++ish code and read it realtime. (Why? For two reasons: For fun, and because "don't ask")