simple question about UFCS and templates...wasFound(i) works but not i.wasFound()
H. S. Teoh
hsteoh at qfbox.info
Wed Mar 19 23:48:37 UTC 2025
On Wed, Mar 19, 2025 at 11:21:15PM +0000, monkyyy via Digitalmars-d-learn wrote:
[...]
> ufcs on local functions is hit or miss;
[...]
I thought it was always a miss. :-D At least, it's never worked for me
every time I tried it. I always have to move the UFCS function to
module scope, then it works.
T
--
What's an anagram of "BANACH-TARSKI"? BANACH-TARSKI BANACH-TARSKI.
More information about the Digitalmars-d-learn
mailing list