Nested Base classes

2008-12-09 Thread llee
I'm trying derive a class from a nested base class. The programs' structure is as follows: class A { class B { } } class C : A { class D : B { } } I'm using version 2.014 of the dmd compiler, and the above fails. The compiler error reports that B is nested in clas

Re: tuple function parameters

2008-12-01 Thread llee
Bill Baxter Wrote: > On Tue, Dec 2, 2008 at 4:12 AM, llee <[EMAIL PROTECTED]> wrote: > > I defined a function that uses a tuple to define it's function parameters > > like this: > > > > class Example (Signature ...) > > { > > v

tuple function parameters

2008-12-01 Thread llee
I defined a function that uses a tuple to define it's function parameters like this: class Example (Signature ...) { void f (Signature) { ... } } I want to store the input parameters in an array, where the are is a data member of the enclosing class. class Example

Inheriting from a nested class

2008-11-26 Thread llee
Is it possible to inherit from a nested class from outside of the enclosing class? For example: class A { class B { int x; } } class C : B { int get () { return x; } }