/// A comparison functor to compare two changed data members based on
/// the offset of their initial value.
-struct ChangedDataMemberComp
+struct changed_data_member_comp
{
/// @param f the first changed data member to take into account
///
return get_data_member_offset(first_dm) < get_data_member_offset(second_dm);
}
-}; // end struct ChangedDataMemberComp
+}; // end struct changed_data_member_comp
/// Sort two changed data members by the offset of their initial
/// value.
i != data_members.end();
++i)
sorted.push_back(i->second);
- ChangedDataMemberComp comp;
+ changed_data_member_comp comp;
std::sort(sorted.begin(), sorted.end(), comp);
}
i != data_members.end();
++i)
sorted.push_back(i->second);
- ChangedDataMemberComp comp;
+ changed_data_member_comp comp;
std::sort(sorted.begin(), sorted.end(), comp);
}
/// A comparison functor to compare two data members based on their
/// offset.
-struct DataMemberComp
+struct data_member_comp
{
/// @param f the first data member to take into account.
///
return get_data_member_offset(first_dm) < get_data_member_offset(second_dm);
}
-};//end struct DataMemberComp
+};//end struct data_member_comp
/// Sort a map of data members by the offset of their initial value.
///
++i)
sorted.push_back(i->second);
- DataMemberComp comp;
+ data_member_comp comp;
std::sort(sorted.begin(), sorted.end(), comp);
}