One case of careless opDispatch :)
Tomek Sowiński
just at ask.me
Fri Jul 23 13:54:05 PDT 2010
Dnia 15-07-2010 o 21:52:56 Robert Jacques <sandford at jhu.edu> napisał(a):
> I've run into this before, with other compile-time tests such as
> isAssociativeArray. Often, the real bug is the tests themselves are too
> permissive.
Yes. I think isSomeRange should check that pop(Front|Back) returns void.
opDispatch couldn't stand for a range interface just by mistake.
Tomek
More information about the Digitalmars-d
mailing list