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.