new properties for basic types

Dominikus Dittes Scherkl via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 14 03:28:29 PDT 2014


Is it possible to write custom properties for basic types, so 
that I can write e.g. "int.myProp" instead of "myProp!int()" 
[analogue to x.myProp instead of myProp(x)]?


More information about the Digitalmars-d-learn mailing list