Inadequacies of __traits

BCS ao at pathlink.com
Fri Jul 27 15:38:12 PDT 2007


Reply to Kirk,

> I started writing this as a newsgroup post, but decided I'd rather
> make it a blog post:
> 
> http://kirkmcdonald.blogspot.com/2007/07/inadequacies-of-traits.html
> 
> __traits is a worthy addition to D, but it needs a couple more
> features to be truly useful.
> 

I'd post this as a comment but, I don't have a Google account. 

off the cuff

ctor might be usable like this:

(cast(Foo)(new byte[Foo.sizeOfObject]).ptr)._ctor(100)





More information about the Digitalmars-d mailing list