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 20:05:21 +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...
>
I forgot to say that there is an advantage to the xxprintf and boost::format 
functions : you can have translated string like this : "your %s is under 
attack", I don't know if it is possible with 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]