On 2/28/2014 3:10 AM, Steve Teale wrote:
Could someone please explain what you would use this for to an old man rooted in C++, but who loves D.Where does it fit in relative to 42? ;=( Steve
I use it for namespaces. struct Foo { @disable this(); @disable this( this ); private static { // members } public static { // methods } }Ideally, I'd love for the compiler to pick up on this idiom and not generate any typeinfo in this situation.