title: lambda bind problem?
body: <p>I am a new beginner with boost. And here is my test code,</p>
  
  <pre><code>  using namespace boost::lambda;
    std::vector&lt;std::string&gt; strings; 
    strings.push_back("Boost"); 
    strings.push_back("C++"); 
    strings.push_back("Libraries"); 
  
    std::vector&lt;int&gt; sizes; 
  
    std::for_each(
     strings.begin(),
     strings.end(),
     bind(
    &amp;std::vector&lt;int&gt;::push_back,
    sizes,
    bind&lt;std::size_t&gt;(&amp;std::string::size, _1)));
  
    std::for_each(sizes.begin(), sizes.end(), var(std::cout)&lt;&lt;_1);
  </code></pre>
  
  <p>build the project and yield an error:</p>
  
  <p>error C2665: 'boost::lambda::function_adaptor::apply' : none of the 2 overloads could convert all the argument types</p>
  
  <p>I wonder what's wrong? Really appreciate.</p>