* @brief Our alternative to std::isprint() which can be inconsistent for '\t' * - true on windows, false on other systems. */
| 27 | * - true on windows, false on other systems. |
| 28 | */ |
| 29 | bool isPrintableChar(unsigned char c) { |
| 30 | return std::isprint(c) && !std::iscntrl(c); |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * @brief Returns @c true if @c is non-printable character, @c false otherwise. |
no outgoing calls
no test coverage detected