array of elements of various subclasses

spir denis.spir at gmail.com
Sun Nov 7 07:49:44 PST 2010


On Sun, 7 Nov 2010 16:17:38 +0100
spir <denis.spir at gmail.com> wrote:

And I'd like to know, as a possible workaround, if there is a way to save a variadic arg list:
	class C {
	    ??? xs;
	    this(X xs...) {
	        this.xs = xs;
	    }
	}

Denis
-- -- -- -- -- -- --
vit esse estrany ☣

spir.wikidot.com



More information about the Digitalmars-d-learn mailing list