Clemens Wrote:
> Why not this?
>
> void foo(int x)
> {
> void fooImpl(int x, int depth);
> {
> // ...
> }
>
> fooImpl(x, 0);
> }
>
Ah, and I guess you should make fooImpl static if you don't intend to access foo's x parameter directly.