The title says it all really. The failure occurs because the insert algorithm expects the container
to provide a 3-arg insert of the form
container.insert( position, begin, end );
whereas map's, multimap's and set's insert method only takes two arguments...
map.insert( begin, end );
Is this limitation by design? It would be easy to provide specialisations for maps, mmaps and sets, but
that would not be a completely general solution.
- Rob.