Want to get details about structure detail in C++
 iam new to C++ but studied other languages. would you please explain me the code i had written below....
    struct Point
    {
      int x,y;
      bool operator <(const Point &p) const{
        return x<p.x||(x==p.x&&y<p.y);
        }
       };
    can anybody explain what is actually 
     bool operator <(const Point &p) const{
          return x<p.x||(x==p.x&&y<p.y);
        } 
     in a structure doing and what does it means ??
     Please explain me as i am new to C++........

Want to get details about structure detail in C++
===

 iam new to C++ but studied other languages. would you please explain me the code i had written below....
    struct Point
    {
      int x,y;
      bool operator <(const Point &p) const{
        return x<p.x||(x==p.x&&y<p.y);
        }
       };
    can anybody explain what is actually 
     bool operator <(const Point &p) const{
          return x<p.x||(x==p.x&&y<p.y);
        } 
     in a structure doing and what does it means ??
     Please explain me as i am new to C++........
