This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: setup.exe rebase patch
- From: Jason Tishler <jason at tishler dot net>
- To: Robert Collins <robert dot collins at itdomain dot com dot au>
- Cc: Cygwin-Apps <cygwin-apps at sources dot redhat dot com>
- Date: Sat, 02 Mar 2002 11:15:50 -0500
- Subject: Re: setup.exe rebase patch
- References: <FC169E059D1A0442A04C40F86D9BA76008AADF@itdomain003.itdomain.net.au>
Rob,
On Fri, Mar 01, 2002 at 07:08:53AM +1100, Robert Collins wrote:
> Provide a Memento::ToString and Memento(String) or Memento::ToStream
> and Memento(io_stream &) pair. Then the config file class becomes
> the caretaker, ensuring that the file goes to the right place, that io
> exceptions are handled etc., and the ToFoo and (Foo) pair contains the
> serialisation logic. The serialisation logic is tightly bound to the
> class content (as it has to be), but the persistence mechanism is not.
OK, the above seems like "cheating," but I can live with that. :,)
Thanks,
Jason