foreach (x; a .. b) and foreach_reverse (x; a .. b) should be

Bill Baxter wbaxter at gmail.com
Mon May 18 10:23:12 PDT 2009


On Mon, May 18, 2009 at 5:46 AM, Jason House
<jason.james.house at gmail.com> wrote:

> Here's a recent misuse by Andrei that made its way into Phobos:
> if (is(T == struct) && is(T.toString))

Hmm, 'is' isn't supposed to accept values is it?  But it quietly
ignores anything wrong and returns false.  Is that the misuse you're
talking about?

--bb



More information about the Digitalmars-d mailing list