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

Function min_element

Tools/EditorFramework/pugixml.cpp:6099–6108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6097
6098template<typename I, typename Pred>
6099I min_element(I begin, I end, const Pred& pred)
6100{
6101 I result = begin;
6102
6103 for (I it = begin + 1; it != end; ++it)
6104 if (pred(*it, *result))
6105 result = it;
6106
6107 return result;
6108}
6109
6110template<typename I>
6111void reverse(I begin, I end)

Callers 1

xpath_node xpath_firstFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected