@brief Check if the given character is a hex-digit. @note This function is needed to avoid assertion failures in `std::isxdigit()` especially when compiled with MSVC. @param c A character to be checked. @return true if the given character is a hex-digit, false otherwise.
| 6041 | /// @param c A character to be checked. |
| 6042 | /// @return true if the given character is a hex-digit, false otherwise. |
| 6043 | static bool is_xdigit(char c) { |
| 6044 | return (('0' <= c && c <= '9') || ('A' <= c && c <= 'F') || ('a' <= c && c <= 'f')); |
| 6045 | } |
| 6046 | }; |
| 6047 | |
| 6048 | FK_YAML_DETAIL_NAMESPACE_END |
no outgoing calls
no test coverage detected