title: mem_fun and bind1st problem
body: <p>I've following class:</p>
  
  <pre><code>class A {
  public:
  // ctr and etc ...
  A*   clone(B* container);
  };
  </code></pre>
  
  <p>Now, I've a <code>vector&lt;A*&gt; availableObjs</code> populated already. I want to call <code>clone</code> on each of those, so and insert cloned objects into a new container <code>clonedObjs</code> of type <code>vector&lt;A*&gt;</code>. I'm trying following - but it doesn't compile:</p>
  
  <pre><code>transform(availableObjs.begin(), availableObjs.end(), back_inserter(clonedObjs),
      bind1st(mem_fun(&amp;A::clone), container)); // container is of type B*
  </code></pre>
  
  <p>Is there a easy way out? I've a lot classed like A - so making each of those a functor is too much task.</p>