MCPcopy Create free account
hub / github.com/ablab/spades / IsZeroInt

Class IsZeroInt

ext/src/cppformat/format.cc:193–197  ·  view source on GitHub ↗

IsZeroInt::visit(arg) returns true iff arg is a zero integer.

Source from the content-addressed store, hash-verified

191
192// IsZeroInt::visit(arg) returns true iff arg is a zero integer.
193class IsZeroInt : public fmt::internal::ArgVisitor<IsZeroInt, bool> {
194 public:
195 template <typename T>
196 bool visit_any_int(T value) { return value == 0; }
197};
198
199// Parses an unsigned integer advancing s to the end of the parsed input.
200// This function assumes that the first character of s is a digit.

Callers 1

formatMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected