Quote Originally Posted by yellowmat
I can also give the definition of the operator== of CClassB
Qt Code:
  1. bool CClassB::operator==(const CClassB& acb)
  2. {
  3. if( m_vlListOfClassA == acb.m_vlListOfClassA) )
  4. return true;
  5. else
  6. return false;
  7. }
To copy to clipboard, switch view to plain text mode 
Same here -- add "const".