title: Gmock matcher to match against type
body: <p>In gmock is there anyway to match against a type rather than value? The class is something like:</p>
  
  <pre><code>struct Blob {
      template&lt;class T&gt; bool is(); // if blob holds data of type T
      template&lt;class T&gt; T get(); // get data as type T
  }
  </code></pre>
  
  <p>My matcher looks like this:</p>
  
  <pre><code>MATCHER_P(BlobIs, T, "") {
      return arg-&gt;is&lt;T&gt;();
  }
  </code></pre>
  
  <p>But the build failed with:</p>
  
  <pre><code>error: expected primary-expression before ')' token
  </code></pre>