* @brief Checks if the given string has any unprintable characters. */
| 111 | * @brief Checks if the given string has any unprintable characters. |
| 112 | */ |
| 113 | bool hasUnprintableChars(const WideStringType &str) { |
| 114 | return std::find_if( |
| 115 | str.begin(), |
| 116 | str.end(), |
| 117 | [](WideCharType c){return !isPrintable(c);}) == str.end(); |
| 118 | } |
| 119 | |
| 120 | /** |
| 121 | * @brief Checks if the only unprintable characters in the given string are zero |
no test coverage detected