Polymorphic recursive class
Jack Applegame via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jul 13 04:36:47 PDT 2015
On Monday, 13 July 2015 at 10:33:17 UTC, Dmitry Olshansky wrote:
> You might mean Nested!A[] ?
No.
> Else it looks like making a construct that is:
>
> left - an element,
> right - {
> left - an array,
> right - {
> left - an array of arrays,
> right - {
> left- an array of array of arrays
> right - an so on ... WTF?
> }
> }
> }
Yes, that is I intended.
It is a pretty useless example, just for demonstrating the lack
of support polymorphic recursive data types.
More information about the Digitalmars-d
mailing list