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 > [email protected] > http://lists.nongnu.org/mailman/listinfo/glob2-devel _______________________________________________ glob2-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/glob2-devel
