I was wondering if this was possible, and if so how I’d go about doing so. If it’s not possible I’ll just have to add the elements during the constructor body.
Ideally I would like the map immutable after construction.
What I’m trying to achieve is adding two pairs to the map that are created from constructor parameters.
It’s possible, by copy construction: invoke a function which build the map!