MCPcopy Create free account
hub / github.com/Tencent/plato / string_not_empty

Function string_not_empty

example/hyperanf.cc:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39DEFINE_uint32(bits, 6, "hyperloglog bit width used for cardinality estimation");
40
41bool string_not_empty(const char*, const std::string& value) {
42 if (0 == value.length()) { return false; }
43 return true;
44}
45
46DEFINE_validator(input, &string_not_empty);
47

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected