http://d.puremagic.com/issues/show_bug.cgi?id=6979

           Summary: hasUnsharedAliasing cannot accept plural parameters
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: zan77...@nifty.com


--- Comment #0 from SHOO <zan77...@nifty.com> 2011-11-20 07:13:52 PST ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to