K&R-style function parameter declaration

maelp someone at somewhere.com
Wed Jan 9 07:13:34 PST 2008


Hello,

sorry for the inintentional post in d.announce

sometimes it's useful to have some kind of K&R style declaration of parameters,
for instance it'd be nice to be able to write

drawRectangle( Drawable g, int: {x, y, w, h}, uchar: {r,g,b} )

do you think we can write some templates or have a similar behaviour in some
way ?




More information about the Digitalmars-d mailing list