MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / Comparator

Class Comparator

native/Base.h:95–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 // for std::sort
94 template<typename T>
95 struct Comparator : public std::binary_function<std::shared_ptr<T>, std::shared_ptr<T>, bool> {
96 bool operator()(std::shared_ptr<T> const &left, std::shared_ptr<T> const &right) const {
97 return *left.get() < *right.get();
98 }
99 };
100
101
102 typedef std::shared_ptr<std::string> stringPtr;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected