Is there a way to store a varaible type in a varaible?
1 2 3 4 5
VaraibleType Type1 = int;
VaraibleType Type2 = float;
Type1 a = 1337;
Type2 b = 3.14;
Is there a syntax to do an operation like this? Or a way to emmulate it at least (for instance using templates in some clever way)? If there is then can you point me towards an article article or resource describing it? I've been looking for one for a while now, but I didn't realy know what I was looking for so I was unable to come up with anything.