Utility class for automatic conversion of strings (that may contain non-graphical characters) to a safe "printable" form. More...
Utility class for automatic conversion of strings (that may contain non-graphical characters) to a safe "printable" form.
The safe printable form utilizes '\'-quoted special sequences, as well as either contracted or full 3-digit octal representation of non-printable characters, always making sure there is no ambiguity in the string interpretation (so that if the printed form is used back in a C program, it will be equivalent to the original string). Sample usage: out << "Printable: \"" << Printable(str) << '"' << endl;
Definition at line 886 of file ncbistre.hpp.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4