Passing private functions to template algorithms

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 7 17:48:00 PDT 2016


On Tuesday, 7 June 2016 at 18:59:03 UTC, Timon Gehr wrote:
>
> I think it is obvious that this should work. Visibility checks 
> need to happen during identifier lookup. This lookup is 
> happening in the module where isFileNothrow is visible.

I agree with you.
However something in the back of my mind tells me that we'll be 
hitting nasty corner cases if we change the behavior.


More information about the Digitalmars-d mailing list