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