Compile Agentv3.3e with MS VC++5.0

haka newHaka____21cn.com
Wed Apr 26 17:32:44 CEST 2000


Hello,everybody,
Now ,the problem is solved.
I had  overided the operaror "<" & "=="
for those classes  who use the class
template OrderedList,and all is ok.
yes,It seem that it is VC++'s bug.

=========================================================================


friend boolean operator < (const ViewNameIndex& r1,const ViewNameIndex&
r2);
friend boolean operator == (const ViewNameIndex& r1,const ViewNameIndex&
r2);
boolean operator < (const ViewNameIndex& r1,const ViewNameIndex& r2)
{
    if (r1<r2) 
    ^^^^^^^^^^^^
      the same to the *item < *cur.get()

		return true;
	else
		return false;
}

boolean operator == (const ViewNameIndex& r1,const ViewNameIndex& r2)
{
    if (r1==r2) 
		return true;
	else
		return false;
}



More information about the AGENTPP mailing list