InitMap & InitVector util classes


Hello everyone,
 
I would like to share with you two utility template classes I have worked on.
—————————
InitMap class, which initializes a map using the following syntax:
 
old syntax:

 
it makes the code easier to read and also assures that the map will have all of its elements by the time it is created.
—————————
In the same file you can find the similar usage for the InitVector class

The full code can be found at the following address:
Best regards,
Robert

Leave a comment

Your email address will not be published.