95 |
|
return false; |
96 |
|
} |
97 |
|
|
98 |
– |
/*bool Page::operator<(const Page& page) const |
99 |
– |
{ |
100 |
– |
if (address == page.address) |
101 |
– |
{ |
102 |
– |
return path < page.path; |
103 |
– |
} |
104 |
– |
|
105 |
– |
return address < page.address; |
106 |
– |
} |
107 |
– |
|
108 |
– |
bool Page::operator>(const Page& page) const |
109 |
– |
{ |
110 |
– |
if (address == page.address) |
111 |
– |
{ |
112 |
– |
return path > page.path; |
113 |
– |
} |
114 |
– |
|
115 |
– |
return address > page.address; |
116 |
– |
}*/ |
117 |
– |
|
98 |
|
ostream& operator<<(ostream& output, Page& page) |
99 |
|
{ |
100 |
|
string tab(page.tab, '\t'); |