MCPcopy Create free account
hub / github.com/apache/arrow / PersonFromString

Function PersonFromString

cpp/src/arrow/util/reflection_test.cc:150–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148void PrintTo(const Person& obj, std::ostream* os) { *os << ToString(obj); }
149
150std::optional<Person> PersonFromString(std::string_view repr) {
151 return FromStringImpl<Person>("Person", repr, kPersonProperties).obj_;
152}
153
154TEST(Reflection, EqualityWithDataMembers) {
155 Person genos{19, "Genos"};

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected