title: Bool error in c++
body: <p>I am trying to make a method in my user defined class that will compare two lengths and return true if the implicit parameter is greater than the explicit parameter but it keeps saying I cannot use the > symbol and I'm not sure why. Any help would be greatly appreciated.</p>
  
  <pre><code>bool isGreaterThan(English_length&amp;L)
  {
  if (isGreaterThan(L)&gt;L)
      return true;
  else
      return false;
  
  }
  </code></pre>