[PATCH] Correctly output internal-adjusted hexadecimals

Benjamin Kosnik bkoz@redhat.com
Fri Nov 23 08:32:00 GMT 2001


>         oss << "0xTrap!";

> On the other hand, __pad, which is unified for num_put and ostream, sees only
> strings, and deals with the various cases only on the basis of the first chars
> of the string passed as a parameter. It has *no way* to make a distintion.

Yeah. It should though, even if that means adding a parameter.

-benjamin



More information about the Libstdc++ mailing list