MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / operator==

Function operator==

src/backend/common/Version.hpp:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45};
46
47constexpr bool operator==(const Version& lhs, const Version& rhs) {
48 return lhs.major() == rhs.major() && lhs.minor() == rhs.minor() &&
49 lhs.patch() == rhs.patch();
50}
51
52constexpr bool operator!=(const Version& lhs, const Version& rhs) {
53 return !(lhs == rhs);

Callers

nothing calls this directly

Calls 3

majorMethod · 0.80
minorMethod · 0.80
patchMethod · 0.80

Tested by

no test coverage detected