MCPcopy Create free account
hub / github.com/apache/arrow / operator*

Method operator*

cpp/src/arrow/stl_test.cc:80–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 return false;
79 }
80 std::string operator*() const {
81 switch (counter % 3) {
82 case 0:
83 ADD_FAILURE() << "Optional dereferenced in null value";
84 break;
85 case 1:
86 return "yes";
87 case 2:
88 return "no";
89 }
90 return "error";
91 }
92};
93
94int CustomOptionalTypeMock::counter = -1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected