Vaucanson 1.4
|
IO Manipulator to escape some characters when displaying them. More...
IO Manipulator to escape some characters when displaying them.
It is often desirable when printing words to escape some particular characters. As an example, when printing a rational expression, the word "foo+bar" (where '+' is a letter from the alphabet) should be printed "foo\+bar".
This manipulator allow an user to do so. When used on a stream using an << operator, the argument of type T held by this manipulator is displayed as if its << operator had been called, but with some characters escaped.
By default the escaped characters are those returned by vcsn::misc::usual_escaped_characters (). You may control those characters using the vcsn::misc::setesc manipulator.
Definition at line 59 of file escaper.hh.