const challenge
Christopher Wright
dhasenan at gmail.com
Sat Feb 2 07:51:54 PST 2008
Janice Caron wrote:
> On 2/2/08, Janice Caron <caron800 at googlemail.com> wrote:
>> Still - nobody here was suggesting unique "on a whim". Rather, it was
>> to solve a class of problems, the most obvious of which is to allow
>> the following to compile:
>>
>> string s;
>> char[] t;
>> char[] u = "hello" ~ s ~ t;
>
> That said, we could always have a concatenation function in phobos:
>
> string s;
> char[] t;
> char[] u = cat("hello",s,t);
Which is silly, when we have a catenation operator in the language.
More information about the Digitalmars-d
mailing list