I will start a new discussion about this issue here.
The question popped up after investigating an other issue:
http://groups.google.fi/group/comp.l...07f29eaecd75c3
Maybe a separate discussion would be good for this.
Do you know how several arguments can be passed to an other method
through an intermediate method?
The intemediate method should not need to know how many arguments are
used. The intermediate method should not need to know the types of the
arguments either.
Is it possible to pass the arguments that way?
method1 -passes several arguments with different types to ->
intermediateMethod(use some kind of a pointer to args?)
Then intermediateMethod passes the arguments to -finalMethod1.
(And finalMethod read the arguments and passes the values one more time
to a library.)
The task above happen inside a wrapper class
(, which should e.g. convert the exception to a different type of
exception in the intermediateMethod).
Is it possible to pass the arguments behind a pointer?
finalMethod would read the arguments from the pointer, which it gets?
Or some other way.
I do not know is this possible.
I have seen this kind of a functionality e.g. when using threads,
arguments can be given to threads, and threads can read the arguments,
or there is also similar functionality in main: in "int
main(...argv...)".
I do not know would this kind of a functionality be easy to implement.