title: How to specify that a template class implements certain methods in C++?
body: <p>In Java generics, we can simply use <code>MyClass&lt;T implements SomeInterface&gt;</code>. However, I couldn't think of a C++ equivalent for this. </p>
  
  <p>Then, when I have a template class <code>T</code>, how do I specify what particular methods this <code>T</code> supports?</p>