On Sunday, 7 July 2013 at 11:59:36 UTC, Marco Leise wrote:
Am Sun, 07 Jul 2013 13:17:23 +0200
schrieb "TommiT" <tommitiss...@hotmail.com>:

const would have the same effect:

void f(T)(const T var) { ... }

...but then you can't mutate var.

That doesn't handle shared.

That seems like a compiler bug to me.

Reply via email to