Re: [patch] more dispatch stuff

2003-10-29 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > Also to make the process more visible. Well, that bit worked ;-) -- Angus

Re: [patch] more dispatch stuff

2003-10-29 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | More generally, why submit a patch for inspection if you don't intend | the final code to look anything like it? So that you can tell me if it collides with something you work on. Also to make the process more visible. -- Lgb

Re: [patch] more dispatch stuff

2003-10-29 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > except for hassle if I want to change the 'Foo' into 'Bar' (or > course then I'll have other things to fix as well... > Most likely the whole _fwd file will go, but it is practical for my > when I work on the dispatch stuff. Why not say this at the start and avoid rai

Re: [patch] more dispatch stuff

2003-10-29 Thread Andre Poenitz
On Wed, Oct 29, 2003 at 09:44:46AM +0100, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > [IMHOs] > > But I don't claim to get sick by seeing your IMHOs. Well, your stomach seems to be better than mine then. > And I disagree with several of them, both on subjective re

Re: [patch] more dispatch stuff

2003-10-29 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: [IMHOs] But I don't claim to get sick by seeing your IMHOs. And I disagree with several of them, both on subjective reason, but also on technical reasons. -- Lgb

Re: [patch] more dispatch stuff

2003-10-29 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Oct 29, 2003 at 09:17:40AM +0100, Lars Gullik Bjønnes wrote: >> Andre Poenitz <[EMAIL PROTECTED]> writes: >> >> | Please not. Forward declaring a class be saying 'class Foo;' is standard >> | practice. It is cheap. And it is as explicit as it ca

Re: [patch] more dispatch stuff

2003-10-29 Thread Andre Poenitz
On Wed, Oct 29, 2003 at 09:22:57AM +0100, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | On Tue, Oct 28, 2003 at 08:31:04PM +0100, Lars Gullik Bjønnes wrote: > >> IMHO we should never manually forward declare, that should be the > >> purpose of a header file instead.

Re: [patch] more dispatch stuff

2003-10-29 Thread Andre Poenitz
On Wed, Oct 29, 2003 at 09:17:40AM +0100, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | Please not. Forward declaring a class be saying 'class Foo;' is standard > | practice. It is cheap. And it is as explicit as it can get. Nothing > | hidden, all clear. #include ca

Re: [patch] more dispatch stuff

2003-10-29 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Tue, Oct 28, 2003 at 08:31:04PM +0100, Lars Gullik Bjønnes wrote: >> IMHO we should never manually forward declare, that should be the >> purpose of a header file instead. > | Could we try to reach an agreement that developers do not install there | p

Re: [patch] more dispatch stuff

2003-10-29 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | Please not. Forward declaring a class be saying 'class Foo;' is standard | practice. It is cheap. And it is as explicit as it can get. Nothing | hidden, all clear. #include can mean everything. when the include has the postfix "_fwd.h" its intent is pre

Re: [patch] more dispatch stuff

2003-10-29 Thread Andre Poenitz
On Tue, Oct 28, 2003 at 08:31:04PM +0100, Lars Gullik Bjønnes wrote: > IMHO we should never manually forward declare, that should be the > purpose of a header file instead. Could we try to reach an agreement that developers do not install there personal pets in the source, especially if it is neit

Re: [patch] more dispatch stuff

2003-10-29 Thread Andre Poenitz
On Tue, Oct 28, 2003 at 08:31:04PM +0100, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > | I don't see the point to the _fwd.h file. > > > | #include "dispatchresult_fwd.h" > > > | is more typing than > > > | class DispatchResult; > > Well... but now I can add other s

Re: [patch] more dispatch stuff

2003-10-29 Thread Andre Poenitz
On Tue, Oct 28, 2003 at 07:50:14PM +0100, Lars Gullik Bjønnes wrote: > > > This replaces dispatch_result enum with a real type, forward declared > when possible. > > a couple of Mathed :: dispatch changed to priv_dispatch and a couple > moved from public to protected. > > This will go in unless

Re: [patch] more dispatch stuff

2003-10-28 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: >> it will be. > | I look forward to seeing your solution. Nothing revolutionary, I asure you. -- Lgb

Re: [patch] more dispatch stuff

2003-10-28 Thread Angus Leeming
Lars Gullik Bjønnes wrote: >>> This replaces dispatch_result enum with a real type, forward >>> declared when possible. >> > | Also, you don't need to use DispatchResult in the body of the > | code, just when passing it around. The operator > | dispatch_result_t() means that things will just work.

Re: [patch] more dispatch stuff

2003-10-28 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | I don't see the point to the _fwd.h file. > | #include "dispatchresult_fwd.h" > | is more typing than > | class DispatchResult; Well... but now I can add other stuff to the header file wihtout touching a lot of files. (not that many in this case...) |

Re: [patch] more dispatch stuff

2003-10-28 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: > >> >> This replaces dispatch_result enum with a real type, forward >> declared when possible. > | Also, you don't need to use DispatchResult in the body of the code, | just when passing it around. The operator dispatch_resu

Re: [patch] more dispatch stuff

2003-10-28 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > > This replaces dispatch_result enum with a real type, forward > declared when possible. > > a couple of Mathed :: dispatch changed to priv_dispatch and a couple > moved from public to protected. Hey! You're stealing my ideas ;-) > This will go in unless I get obje

Re: [patch] more dispatch stuff

2003-10-28 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > > This replaces dispatch_result enum with a real type, forward > declared when possible. Also, you don't need to use DispatchResult in the body of the code, just when passing it around. The operator dispatch_result_t() means that things will just work. For example