assert() vs. enforce(), invariant() vs. ... ?

Jacob Carlborg doob at me.com
Sat Aug 31 04:41:07 PDT 2013


On 2013-08-31 11:46, Andrej Mitrovic wrote:

> So 3 years later, and it's still an issue. I don't even see how Issue
> 4636 can even be fixed, there's no way for a template in another
> module to get private access to the class constructor.

A delegate/function pointer will bypass the protection.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list