https://d.puremagic.com/issues/show_bug.cgi?id=11737
--- Comment #5 from Orvid King <[email protected]> 2013-12-15 11:31:44 PST --- (In reply to comment #3) > (In reply to comment #2) > > I think the default argument trick is quite neat. Andrej, would you care to > > implement it? > > I'm sure he'd love to implement it, but delegate and function pointer types > don't currently keep any information on the name or default value of their > parameters, meaning that this is currently impossible without declaring a > function and passing it as an alias template parameter. I just realized this probably came off a wee bit more confrontational than I meant it to, woops. Either way, I think the default value option for a delegate is a beautiful way to solve the problem, as I think having 2 separate delegates is just a bit too verbose, especially as they are likely to contain the exact same code. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
