glob2-devel
[Top][All Lists]
Advanced

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

Re: [glob2-devel] Refactoring


From: Sébastien
Subject: Re: [glob2-devel] Refactoring
Date: Mon, 1 May 2006 19:49:12 +0200
User-agent: KMail/1.9.1

Le Lundi 1 Mai 2006 19:35, Cyrille Dunant a écrit :
> > I started looking for a replacement for ellipsis since string can't be
> > passed through it. We can always use c_str() but I stay on the idea that
> > it is not really a good idea (except for c function), I think we should
> > use string throughout the functions' chain
>
> streams... The clean solution might involve streams...
>
That was my first opinion but when Stéphane talked about boost::format I found 
this clearer... But if you don't wan't of boost, I can fall back to 
streams...

> > > I think the idea is "string everywhere except when the programmer will
> > > want to write the argument explicitely"
> > >
> > > as in
> > >
> > > void manipulateString(string &) ;
> > >
> > > void printOnDebugOutput(char *) ;
> > >
> > > nct ?
> >
> > Yes, that's what he said...
>
> He is my Zen master.
>
> :)
>
> CU
>
>  -- CFD
>
>
> _______________________________________________
> glob2-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/glob2-devel




reply via email to

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