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

           Summary: SysTime should not be hasUnsharedAliasing
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: zan77...@nifty.com


--- Comment #0 from SHOO <zan77...@nifty.com> 2011-09-10 07:13:19 PDT ---
This code should work:
------------------------------
import core.time;
import std.traits, std.datetime;

static assert(!hasUnsharedAliasing!Duration);
static assert(!hasUnsharedAliasing!TickDuration);
static assert(!hasUnsharedAliasing!Date);
static assert(!hasUnsharedAliasing!TimeOfDay);
static assert(!hasUnsharedAliasing!DateTime);
static assert(!hasUnsharedAliasing!SysTime);

void main() {}
------------------------------
$ dmd -run main
main.d(9): Error: static assert  (!true) is false

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

Reply via email to