17 #ifndef AWALI_MISC_ESCAPE_HH
18 # define AWALI_MISC_ESCAPE_HH
27 namespace awali {
namespace sttc {
32 std::ios_base::fmtflags flags = os.flags(std::ios_base::hex);
33 char fill = os.fill(
'0');
36 case -1: os <<
"<end-of-file>";
break;
37 case '\\': os <<
"\\\\";
break;
38 case '"': os <<
"\\\"";
break;
39 case '\n': os <<
"\\n";
break;
41 if (0 <=
c &&
c <= 0177 && std::isprint(
c))
44 os <<
"\\0x" << std::setw(3) <<
c;
The semiring of complex numbers.
Definition: c.hh:44
std::ostream & str_escape(std::ostream &os, const int c)
Definition: escape.hh:30
Main namespace of Awali.
Definition: ato.hh:22