title: How to add elements to container having only iterator?
body: <p>I have an empty container with reserved memory. My function (algorithm) doesn't take a container, only the iterator to begin of it. How to add elements to container in this function? I need allocate memory and call the constructor, but how to call the constructor in place referenced by iterator?</p>