MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / IsAsciiDigit

Function IsAsciiDigit

rtpose_wrapper/src/gtest/gtest-all.cpp:7986–7986  ·  view source on GitHub ↗

Returns true iff ch belongs to the given classification. Unlike similar functions in , these aren't affected by the current locale.

Source from the content-addressed store, hash-verified

7984// similar functions in <ctype.h>, these aren't affected by the
7985// current locale.
7986bool IsAsciiDigit(char ch) { return '0' <= ch && ch <= '9'; }
7987bool IsAsciiPunct(char ch) {
7988 return IsInSet(ch, "^-!\"#$%&'()*+,./:;<=>?@[\\]_`{|}~");
7989}

Callers 1

AtomMatchesCharFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected