April 02, 2004 Re: [BUG]: promoting overloaded functions to subclass | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ben Hinkle | Ben Hinkle wrote:
[...]
> Alias is your friend :-)
[...]
Agreed. However, it can become tedious to provide an alias for every function, that I want to overload that way.
D already has syntactic sugar in several cases. For example the static attribute for a single declaration can be extended by prepending it to a block of declarations or all of the following declarations, except overridden by another attribute.
So long!
|
Copyright © 1999-2021 by the D Language Foundation