bearophile can say "i told you so" (re uint->int implicit conv)
Adam D. Ruppe
destructionator at gmail.com
Fri Mar 29 05:10:02 PDT 2013
On Friday, 29 March 2013 at 09:26:33 UTC, Benjamin Thaut wrote:
> Who says you can't ? In fact you can using the NVI idiom:
Is that fairly new in D? I'm almost certain I tried it and it
didn't work when I originally wrote this code (which was a couple
years ago).
But it'd be worth redoing it now. The other place I use runtime
varargs is:
// vararg hack so property assignment works right, even
with null
string opDispatch(string field, string file = __FILE__,
size_t line = __LINE__)(...)
I think there's a better way to do that now too. I'll have to
spend some weekend gime on this.
More information about the Digitalmars-d
mailing list