| 12 | #include <cctype> |
| 13 | |
| 14 | bool isHexDigit(char c) |
| 15 | { |
| 16 | return isdigit(c) || (c >= 'a' && c <= 'f') || (c >= 'A' && c <= 'F'); |
| 17 | } |
| 18 | |
| 19 | //! \return The integer equivalent to \a c. |
| 20 | //! \retval -1 The character \a c is not a hex character. |
no outgoing calls
no test coverage detected