MCPcopy Create free account
hub / github.com/Kitware/CMake / SortObjectList

Method SortObjectList

Source/cmXCodeObject.h:167–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165
166 template <typename Proj>
167 void SortObjectList(Proj projector)
168 {
169 std::sort(this->List.begin(), this->List.end(),
170 [&projector](cmXCodeObject* a, cmXCodeObject* b) {
171 return projector(a) < projector(b);
172 });
173 }
174
175protected:
176 void PrintString(std::ostream& os) const;

Callers 1

CreateGroupsMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected