MCPcopy Create free account
hub / github.com/apache/mesos / operator==

Function operator==

3rdparty/stout/tests/recordio_tests.cpp:30–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29template <typename T>
30bool operator==(Try<T> lhs, Try<T> rhs)
31{
32 if (lhs.isSome() != rhs.isSome()) {
33 return false;
34 }
35
36 if (lhs.isSome()) {
37 return lhs.get() == rhs.get();
38 }
39
40 return lhs.error() == rhs.error();
41}
42
43
44template <typename T>

Callers

nothing calls this directly

Calls 6

errorMethod · 0.65
isSomeMethod · 0.45
getMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected