Optional parameters referring to previous parameters?

Mehrdad wfunction at hotmail.com
Wed May 9 17:16:51 PDT 2012


Is this possible/should it compile?

If not, should I make an enhancement request for it? It's been 
something that would've been useful in a ton of situations for 
me...

void process(R)(R items, size_t maxCount = items.length)
{
}


More information about the Digitalmars-d mailing list