title: How to get the Type of c++0x lambda expression?
body: <p>I want get the type of lambda as the template argument. How to do this?</p>
  
  <pre><code>template&lt;class T&gt;
  class Foo
  {
  public:
      Foo(T t){ t(); }
  };
  
  int main()
  {   
      Foo&lt; type?? &gt; foo([](){ cout&lt;&lt;"construct OK"; });
  
      system("pause");
      return 0;
  }
  </code></pre>