Just looking for some inspiration.
I'm imp'ing an STL map with strings as the keys.
I need the data component to contain several data values, one of which can be int, bool, double, or string.
How would I go about this? A struct will contain the necessary data but it's the arbitrary variable type that gets me. Do I use void*? inheritance? And how do I go about assigning/accessing the data?
Any help will be greatly appreciated, this C++ business is driving me mad.
Cheers
~G