title: Passing rvalues through std::bind
body: <p>I want to pass an rvalue through <code>std::bind</code> to a function that takes an rvalue reference in C++0x.  I can't figure out how to do it.  For example:</p>
  
  <pre><code>#include &lt;utility&gt;
  #include &lt;functional&gt;
  
  template&lt;class Type&gt;
  void foo(Type &amp;&amp;value)
  {
      Type new_object = std::forward&lt;Type&gt;(value);    // move-construct if possible
  }
  
  class Movable
  {
  public:
      Movable(Movable &amp;&amp;) = default;
      Movable &amp;operator=(Movable &amp;&amp;) = default;
  };
  
  int main()
  {
      auto f = std::bind(foo&lt;Movable&gt;, Movable());
      f();    // error, but want the same effect as foo(Movable())
  }
  </code></pre>