chsvlib
chsv helper source code

◆ ucp_isgraph_ascii()

int Chusov::String::ucp_isgraph_ascii ( ucp_t  ch)
noexcept

Returns a flag that indicates whether a given character belongs to the ASCII code space and has a nonempty graphical representation, i.e. any printable character except for whitespace characters.

Parameters
chis the character to check.
Returns
A nonzero value, if ch is an ASCII alphanumeric or punctuational character, or zero otherwise.

The function repeats the standard library isgraph function.

See also
ucp_isgraph Same, but checks the whole Unicode 11.0 code space except for surrogate pairs.