array of elements of various subclasses
Dmitry Olshansky
dmitry.olsh at gmail.com
Sun Nov 7 09:29:40 PST 2010
On 07.11.2010 18:49, spir wrote:
> 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
>
Tuple!(X) from std.typecons should do
--
Dmitry Olshansky
More information about the Digitalmars-d-learn
mailing list