Using glog's design for Phobos?

Yao G. yao.gomez at spam.gmail.com
Thu Aug 26 19:05:23 PDT 2010


On Thu, 26 Aug 2010 20:53:30 -0500, dsimcha <dsimcha at yahoo.com> wrote:

>> [snip]
>
> Ok, how about just having a global File object (in D2) that either  
> points to a
> real disk file or stdout/stderr, depending on the circumstances?

That's a good idea but... How do I detect, at runtime, whether I'm running  
a console app or a window app?

-- 
Yao G.


More information about the Digitalmars-d mailing list