void foo(T)(Unqual!T a, Unqual!T b) {
    a = b;
    b = a;
}
void main() {
    const int x, y;
    foo(x, y);
}

Missing line:

import std.traits: Unqual;

Bye,
bearophile

Reply via email to