core.exception.InvalidMemoryOperationError@(0)

Bayan Rafeh via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 26 03:37:12 PST 2015


> you are trying to use invariants for the things that invariants 
> can't
> (and must not) check. invariants are meant for checking 
> *internal*
> *object* *consistency*. NOT correctness. NOT applicability. ONLY
> consistency. object can be in "inapplicable" state, but still 
> consistent.

Then I must have misunderstood the documentation, I apologize, I 
thought the point of invariant was to ensure correctness of the 
object's state. I'll go ahead and report the bug.


More information about the Digitalmars-d-learn mailing list