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

Function string_not_empty

example/bfs.cc:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35DEFINE_uint32(type, 0, "0 -- always pull, 1 -- push-pull, else -- push");
36
37bool string_not_empty(const char*, const std::string& value) {
38 if (0 == value.length()) { return false; }
39 return true;
40}
41
42void init(int argc, char** argv) {
43 gflags::ParseCommandLineFlags(&argc, &argv, true);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected