Concatenating Tuples
Jarrett Billingsley
jarrett.billingsley at gmail.com
Wed Oct 15 05:05:04 PDT 2008
On Wed, Oct 15, 2008 at 12:05 AM, dsimcha <dsimcha at yahoo.com> wrote:
> //The following doesn't work.
>
> import std.stdio, std.typetuple;
>
> void main() {
> auto foo = new Foo;
> writeln(TypeTuple!(foo.tupleof));
> }
>
> Error messages:
>
> D:\code\test\test3.d|13|Error: tuple is not a valid template value argument|
> E:\dmd\bin\..\src\phobos\std\typetuple.d|13|template instance
> std.typetuple.TypeTuple!(tuple((Foo).a)) error instantiating|
http://d.puremagic.com/issues/show_bug.cgi?id=1670
More information about the Digitalmars-d
mailing list