Go Programming talk [OT]

Walter Bright newshound1 at digitalmars.com
Mon Jun 7 12:37:29 PDT 2010


Bill Baxter wrote:
> Probably so.  What's cenforce do anyway?


private T cenforce(T, string file = __FILE__, uint line = __LINE__)
(T condition, lazy const(char)[] name)
{
     if (!condition)
     {
         throw new FileException(
             text("In ", file, "(", line, "), data file ", name), .getErrno);
     }
     return condition;
}


More information about the Digitalmars-d mailing list