Is there a way to associate a string from a text file with an enum value?
The problem is: I have a few enum values stored as string in a text file which I read on
Look at Boost.Bimap, it provides bidirectional associations between two sets of values. You can also choose the underlying container.