On Saturday, 28 June 2014 at 02:46:25 UTC, safety0ff wrote:
On Saturday, 28 June 2014 at 02:02:28 UTC, Peter Alexanderint a; const int b; immutable int c; foo(a); foo(b); foo(c);These all call foo!intAwesome, thanks!
... I just tried this and I'm wrong. The qualifier isn't stripped. Gah! Three different versions!
I could have sworn D did this for primitive types. This makes me sad :-(