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

Function integer_not_zero

example/metapath_randomwalk.cc:104–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 */
103template <typename T>
104static bool integer_not_zero(const char*, T value) {
105 if (0 == value) { return false; }
106 return true;
107}
108
109DEFINE_validator(input, &string_not_empty);
110DEFINE_validator(types, &string_not_empty);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected