More D newb questions.
Ary Borenszweig
ary at esperanto.org.ar
Mon May 5 15:43:43 PDT 2008
Ary Borenszweig escribió:
> Derek Parnell escribió:
>> On Mon, 05 May 2008 12:07:55 -0700, Walter Bright wrote:
>>
>>
>>> In your particular case, the code is trying to concatenate
>>> characters, not arrays of characters. There is no language support
>>> for concatenating individual char values.
>>
>> And this is the real issue.
>> Walter, does this statement of yours also mean that there will *never* be
>> such support in D?
>>
>> Concatenating elements to form an array of elements is a pretty natural
>> expectation from people.
>>
>
> But this could only work for primitive types, because for classes, for
> example, there will be ambiguity between "concatenate these elements"
> and "invoke opCat on these elements".
Umm... This ambiguity already exists, but opCat/opCat_r always win...
nevermind.
More information about the Digitalmars-d
mailing list