[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: kdebug
From:       Stephan Kulow <coolo () kde ! org>
Date:       2000-02-09 18:31:51
[Download RAW message or body]

Rik Hemsley wrote:
> 
> #if Stephan Kulow
> > > dbgstream << my_debug_area << "Something fucked up";
> > >
> > I don't think that this makes code more readable. And
> > how do you decide if you want to output 712 to area 0
> > or to output "Something fucked up" on area 712?
> 
> Um.. make an enum debugArea so that when you stream something
> of this type it's treated as a 'change debug area' signal.
> 
> Dunno, that's probably wouldn't help either. I don't think C++'s
> enum system is that good.
> 
As it especially requires a binary incompatible change to add
an area? :)

Greetings, Stephan

-- 
It said Windows 95 or better, so in theory Linux should run it
                                                GeorgeH on /.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic