Go Programming talk [OT]

Walter Bright newshound1 at digitalmars.com
Mon Jun 7 12:39:27 PDT 2010


Adam Ruppe wrote:
> On 6/7/10, Bill Baxter <wbaxter at gmail.com> wrote:
>> Hmm, but I can actually understand your code.  :-(
> 
> The confusing part is probably cenforce, which is a little helper
> function in the std.file module.
> 
> cenforce(condition, filename) is the same as


The tldr version of what cenforce does is convert a C-style error code return 
into an exception. Hence the "C" in enforce.


More information about the Digitalmars-d mailing list