On Wednesday, 28 May 2014 at 05:40:26 UTC, Jesse Phillips wrote:
When he explained why C++ inferred a const int type as int, he tripped me up because D does drop const for value types.


Hmm, this bit me (doesn't compile):
void f(in char[] s)
{
  auto s1=s;
  s1=s;
}

Reply via email to