Mercurial > projects > qtd
diff d2/qtd/meta/Compiletime.d @ 372:a032df77b6ab
Simple debug helper. Unittests. Meta-object for polymorphic non-QObjects
author | Max Samukha <maxter@spambox.com> |
---|---|
date | Thu, 08 Jul 2010 17:19:05 +0300 |
parents | da4235301224 |
children |
line wrap: on
line diff
--- a/d2/qtd/meta/Compiletime.d Sun Jul 04 14:17:49 2010 +0100 +++ b/d2/qtd/meta/Compiletime.d Thu Jul 08 17:19:05 2010 +0300 @@ -313,6 +313,8 @@ private mixin template AttributeImpl(alias symbol, string attrClass, AttributeOptions opts, size_t index, A...) { + import std.typetuple; + private enum attrId = attributeId!(symbol, index) ~ (opts & AttributeOptions.inner ? "_inner" : ""); static if (is(typeof(mixin(attrId))))