how can I overloaded operator== for circular array Queue implementation ?

how can I overloaded operator== for circular array Queue implementation ?
beginer92Asked:
Who is Participating?
 
AlexFMCommented:
Well, if your class is called, for example, CCircularArray, operator== must look as:

bool operator ==(const CCircularArray& array) const;

The question is how do you define equality of two instances - you need to decide this according to your requirements.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.