| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-apps-help AT cygwin DOT com; run by ezmlm |
| Sender: | cygwin-apps-owner AT cygwin DOT com |
| List-Subscribe: | <mailto:cygwin-apps-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin-apps/> |
| List-Post: | <mailto:cygwin-apps AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs> |
| Delivered-To: | mailing list cygwin-apps AT cygwin DOT com |
| content-class: | urn:content-classes:message |
| Subject: | RE: setup.exe rebase patch |
| Date: | Sun, 3 Mar 2002 06:20:33 +1100 |
| MIME-Version: | 1.0 |
| Message-ID: | <FC169E059D1A0442A04C40F86D9BA76008AAF7@itdomain003.itdomain.net.au> |
| X-MS-Has-Attach: | |
| X-MimeOLE: | Produced By Microsoft Exchange V6.0.5762.3 |
| X-MS-TNEF-Correlator: | |
| Thread-Topic: | setup.exe rebase patch |
| Thread-Index: | AcHCBM/DnWQu0lE6QZiP3sXnxEJxowAGnW8A |
| From: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
| To: | "Jason Tishler" <jason AT tishler DOT net> |
| Cc: | "Cygwin-Apps" <cygwin-apps AT sources DOT redhat DOT com> |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g22JKbN16704 |
Well if you can clarify what aspect is cheating, I'm happy to discuss factoring approaches. Rob > -----Original Message----- > From: Jason Tishler [mailto:jason AT tishler DOT net] > Sent: Sunday, March 03, 2002 3:16 AM > To: Robert Collins > Cc: Cygwin-Apps > Subject: Re: setup.exe rebase patch > > > 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 >
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |