Am 28.06.2014 05:33, schrieb Peter Alexander:
On Saturday, 28 June 2014 at 02:46:25 UTC, safety0ff wrote:
On Saturday, 28 June 2014 at 02:02:28 UTC, Peter Alexander
const int b;
immutable int c;
These all call foo!int
... 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 :-(
I *think* it does this if you define foo as "foo(T)(const(T) arg)", though.