Re: Robustifying pretty-printers

Daniel Jacobowitz
2009-06-15T12:55:23Z

On Mon, Jun 15, 2009 at 04:38:57PM +0400, Vladimir Prus wrote:
> On Monday 15 June 2009 Phil Muldoon wrote:
> > + return self.val['_M_dataplus']['_M_p'].string (encoding, length = len)
>
> Great, this is exactly what I was looking for.

Is it? This uses the length from the (possibly uninitialized)
std::string as a maximum. I think we want something higher level,
similar to today's "set print elements", to apply.

--
Daniel Jacobowitz
CodeSourcery