A
Amal
Guest
How can you declare (typedef) a parameterized class before it is
defined?
The following example is hypothetical and just shows the concept. I
need to declare a parameterized class before it is defined.
typedef class #(type T=int) B;
class #(type T=int) A;
B #(T) parent;
endclass : A
class #(type T=int) B;
A #(T) child
endclass : B
Cheers,
-- Amal
defined?
The following example is hypothetical and just shows the concept. I
need to declare a parameterized class before it is defined.
typedef class #(type T=int) B;
class #(type T=int) A;
B #(T) parent;
endclass : A
class #(type T=int) B;
A #(T) child
endclass : B
Cheers,
-- Amal