Comment #1 by jarrett.billingsley — 2009-09-01T17:09:24Z
Sorry, invalid. typeof(s.length) is unsigned, typeof(-1) is signed. The compiler should throw an error on the last assert, but doesn't. Instead, it casts -1 to size_t, resulting in something like "assert(s.length > 0xFFFFFFFF);" See bug 259.
Comment #2 by jarrett.billingsley — 2009-09-01T17:09:39Z