Pretty Diagnostics
Create your own pretty diagnostics
Loading...
Searching...
No Matches
utils.hpp File Reference
#include <iomanip>
#include <string>
#include <string_view>
Include dependency graph for utils.hpp:

Go to the source code of this file.

Namespaces

namespace  pretty_diagnostics
 

Functions

std::string pretty_diagnostics::escape_string (std::string_view str)
 Escapes control characters and quotes in a string for safe display. For example, converts newlines to "\\n" and tabs to "\\t". More...