rem: bool operator==(const SupportedTypesValue &value) { type_code type1, type2; int32 count1, count2; bool equal = (types.GetInfo("types", &type1, &count1) == B_OK && value.types.GetInfo("types", &type2, &count2) == B_OK && type1 == type2 && count1 == count2);  for (int32 i = 0; equal && i < count1; i++) { BString str1, str2; equal = types.FindString("types", i, &str1) == B_OK && value.types.FindString("types", i, &str2) == B_OK && str1 == str2; } return equal; }
add: operator==(const version_info &info1, const version_info &info2) { return (info1.major == info2.major && info1.middle == info2.middle && info1.minor == info2.minor && info1.variety == info2.variety && info1.internal == info2.internal && !strcmp(info1.short_info, info2.short_info) && !strcmp(info1.long_info, info2.long_info)); }
context: 	bool operator==(const SupportedTypesValue &value)	{		type_code type1, type2;		int32 count1, count2;		bool equal = (types.GetInfo("types", &type1, &count1) == B_OK					  && value.types.GetInfo("types", &type2, &count2) == B_OK					  && type1 == type2 && count1 == count2);				for (int32 i = 0; equal && i < count1; i++) {			BString str1, str2;			equal = types.FindString("types", i, &str1) == B_OK					&& value.types.FindString("types", i, &str2) == B_OK					&& str1 == str2;		}		return equal;	}