This code doesn't work! ---- import std.traits; static assert(!hasUnsharedAliasing!(int, shared(int)*)); ---- Though it has the interface that can accept plural parameters, actually, it accepts only a single parameter. std.concurrency defines hasLocalAliasing for this purpose, but hasUnsharedAliasing should be like this.
https://github.com/D-Programming-Language/phobos/pull/338 https://github.com/D-Programming-Language/phobos/commit/97eb427c5e09cd59b08dad94db6a49d0e4706ef6