| 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> |
| Mail-Followup-To: | cygwin-apps AT cygwin DOT com |
| Delivered-To: | mailing list cygwin-apps AT cygwin DOT com |
| From: | "Gary R. Van Sickle" <g DOT r DOT vansickle AT worldnet DOT att DOT net> |
| To: | "Cygwin-Apps" <cygwin-apps AT cygwin DOT com> |
| Subject: | RE: libgetopt++ and setup and libstdc++ |
| Date: | Sat, 27 Apr 2002 21:43:14 -0500 |
| Message-ID: | <NCBBIHCHBLCMLBLOBONKGEOHCNAA.g.r.vansickle@worldnet.att.net> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| In-Reply-To: | <FC169E059D1A0442A04C40F86D9BA7600C5F24@itdomain003.itdomain.net.au> |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
| Importance: | Normal |
> Ok, > we're finally there. Setup now can use libstdc++ routines, > allowing the full range of C++ programming constructs. Probably even > exceptions, but I have not tested that yet. > As the late Kool-Aid man once said, "OH YEAH!"! [snip] > We can also use the C++ string class. However, except for the trivial - > such as option parsing - we should still use the cistring or String++ > classes, as we need unicode support eventually, and also formatmessage > support. They can of course use string as an underlying container if > appropriate. > There's a cute 'trick' here that gives you the best of both worlds: typedef basic_string< TCHAR > StringAW; Now the "StringAW" type is either wide or narrow depending on build-time defines. -- Gary R. Van Sickle Brewer. Patriot.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |