[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] Convention for marking pretty-printers output

From: Bruno Haible
Subject: Re: [RFC] Convention for marking pretty-printers output
Date: Mon, 28 Oct 2019 10:02:14 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-165-generic; KDE/5.18.0; x86_64; ; )

> The plan would be as follows:

PS: The stream class should probably better be called 'layouting_ostream'
rather than 'pprint_ostream'. The reason is that it only does half of the
pretty-printing. The other half - walking the data structure and controlling
which layout to use for the respective sub-objects - is done by your code.

Also, another constructor parameter should be the maximum memory size
the stream is allowed to consume.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]