Am Sun, 28 Sep 2014 14:07:22 +0000 schrieb "tcak" <t...@gmail.com>:
> On Sunday, 28 September 2014 at 09:11:07 UTC, Marco Leise wrote: > > For head-unshared there is `static if (is(T U : shared U))`. > > But how do you get the unshared type for anything from `shared > > void*` to `shared uint` ? > > shared int a; > > int b = cast()a; No, I mean for `shared void*`, too. But I special cased for one level of pointer indirection now, so it works. -- Marco