[Issue 6979] New: hasUnsharedAliasing cannot accept plural parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 20 07:14:42 PST 2011


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: nobody at puremagic.com
        ReportedBy: zan77137 at nifty.com


--- Comment #0 from SHOO <zan77137 at 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: -------


More information about the Digitalmars-d-bugs mailing list