[Issue 3341] Dummy stream

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 22 13:08:52 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3341



--- Comment #4 from David Simcha <dsimcha at yahoo.com> 2009-09-22 13:08:50 PDT ---
(In reply to comment #3)
> (In reply to comment #1)
> >     size_t vprintf(char[] format, va_list args) { return 0; }
> >     size_t printf(char[] format, ...) { return 0; }
> 
> I'd think this should return the same as the function in the other classes do.

I agree in principle, except that then you would have to do the whole
formatting just to figure out what that number should be.  This seems wasteful.
 I consider it to be a minor detail anyhow, since really, who the heck still
uses vprintf and printf?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list