title: error: no match for 'operator==' (operand types are 'Seat' and 'std::string {aka std::basic_string<char>}')
body: <p>I went through past questions, and could not find an answer specific to mine. So, I keep getting at an error in this method. Would really appreciate your help. </p>
  
  <p>The error is: </p>
  
  <blockquote>
    <p>error: no match for 'operator==' (operand types are 'Seat' and 'std::string {aka std::basic_string}')</p>
  </blockquote>
  
  <pre><code>void SeatsCreateReservation(vector&lt;Seat&gt;&amp; seats) {
  string account_ID;
  unsigned int seatNum = 0;
  Seat seat;
  cout &lt;&lt; "Enter username: ";
  cin &gt;&gt; account_ID;
  
  for (seatNum = 0; seatNum &lt; seats.size(); seatNum++) {
    if (seats.at(seatNum) == account_ID) {
    cout &lt;&lt; "Seat number too large." &lt;&lt; endl;
    break;
     }  
    }
    seat.Reserve(account_ID);
    seats.at(seatNum) = seat;
    cout &lt;&lt; "Completed." &lt;&lt; endl;
    return;
  }
  </code></pre>