vfprintf equivalent in D
H. S. Teoh
hsteoh at quickfur.ath.cx
Thu Feb 23 21:53:23 PST 2012
On Fri, Feb 24, 2012 at 05:22:58AM +0000, Sarath Kumar wrote:
> Hi,
>
> Is there an equivalent to vfprintf(const char *fmt, , va_list ap) in D?
[...]
You don't need one. You can just write:
void myWritelnWrapper(T...)(T args) {
... // insert your own processing here, modify args
// if you like, etc.
writeln(args);
}
T
--
Life would be easier if I had the source code. -- YHL
More information about the Digitalmars-d-learn
mailing list