MCPcopy Create free account
hub / github.com/MyGUI/mygui / duplicate_comparator

Class duplicate_comparator

Tools/EditorFramework/pugixml.cpp:6895–6904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6893};
6894
6895struct duplicate_comparator
6896{
6897 bool operator()(const xpath_node& lhs, const xpath_node& rhs) const
6898 {
6899 if (lhs.attribute())
6900 return rhs.attribute() ? lhs.attribute() < rhs.attribute() : true;
6901 else
6902 return rhs.attribute() ? false : lhs.node() < rhs.node();
6903 }
6904};
6905
6906PUGI__FN double gen_nan()
6907{

Callers 1

remove_duplicatesMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected