From: Hurd, Matthew (hurdm_at_[hidden])
Date: 2003-12-16 08:16:39
> On Behalf Of Beman Dawes
> Sent: Tuesday, 16 December 2003 11:48 PM
> Subject: [boost] Similarity between display and serialization?
> There is a discussion going on now on the C++ committee's library
> reflector, summed up by Pete Becker:
> > Yes, there is a general need for displaying an ordered set (in the
> > broadest sense) of things, whether we call that set a pair, a
> > container, a complex number, or whatever.
> Discussion included ways of providing user customizable formatting for
> This strikes me as the same problem as the much discussed (on Boost)
> of user-customizable serialization formats.
> I wonder what those who have been following Robert Ramey's
> proposal closely think? Could one mechanism solve both serialization
> display needs?
Could, yes. Should, definitely. Serialization and display are the same
"concept to representation" mapping problem. Also, streaming input and
output for display and / or file should have the appropriate symmetry to
make them compatible.
Robert's approach would seem appropriate, but perhaps a simpler approach
would also be possible for human readable output which would be a subset
of full serialization, but why shuffle when you can dance ;-)
Susquehanna Pacific P/L
IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk