operator "~" does not check type?
bearophile
bearophileHUGS at lycos.com
Wed Oct 12 00:12:47 PDT 2011
Cheng Wei:
> string str = "hello" ~ 10;
> assert(str == "hello\n");
>
> Is this a useful feature or just a bug?
I'd call it trash-feature :-|
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list