exceptions

bearophile bearophileHUGS at lycos.com
Wed Feb 24 01:10:41 PST 2010


Ellery Newcomer:
> Okay, does anyone know a good way to figure out where something like 
> this is coming from:
> object.Exception: lengths don't match for array copy

void main() {
    auto a1 = new int[5];
    auto a2 = new int[4];
    a1[] = a2;
}

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list