GetCurrentAttribute
while (iterator && iterator->GetCurrentAttribute() == oldAttr) {
while (iterator && iterator->GetCurrentAttribute() == oldAttr) {
return compare_attributes(a->GetCurrentAttribute(),
b->GetCurrentAttribute());
Attribute* GetCurrentAttribute() const;
Attribute* attribute = iterator->GetCurrentAttribute();