Expand 'with'?
BCS
BCS_member at pathlink.com
Thu Mar 9 09:44:18 PST 2006
pragma wrote:
> Is there any particular reason why the 'with' statement is restricted to work
> with classes only? I keep running into situations where using it with (all?)
> other D constructs, like structs, enums and such, would be quite useful; making
> it a sort of specialized 'alias' instead of something so limited.
>
> - EricAnderton at yahoo
IIRC it does work with structs. I think I have used it.
More information about the Digitalmars-d
mailing list