static code generation

anonymous anonymous at example.com
Sat Dec 15 22:38:11 PST 2012


On Saturday, 15 December 2012 at 16:32:27 UTC, r_m_r wrote:
> On 12/15/2012 08:57 PM, anonymous wrote:
>> Note that here s1alpha and s2alpha are distinct types.
>
> what about this: http://dpaste.dzfl.pl/95f7a74d

Consider

struct Foo {mixin (genStruct!("s1"));}
struct Bar {mixin (genStruct!("s1"));}

Foo.s1alpha and Bar.s1alpha are the same type. In my version they 
are not.


More information about the Digitalmars-d-learn mailing list