so what exactly is const supposed to mean?
Hasan Aljudy
hasan.aljudy at gmail.com
Mon Jul 3 02:53:17 PDT 2006
Bruno Medeiros wrote:
> Hasan Aljudy wrote:
>
>> Ok, I know that the const issue has apparently been beaten to death on
>> the digitalmars.D NG, but ....
>>
>> Can someone please explain to me what does const mean? and doesn't D
>> already have a const keyword?
>> I think it's something from C++, no? what is it? what does it do? and
>> why do people think it's useful?
>>
>> (hmm, I have a feeling that I've asked this before, but can't really
>> remember)
>>
>> While you're at it, would you mind explaining the implications of
>> implemeting the proposed "const by default" feature?
>
>
> The meaning of const depends on the language it is in. Are you asking
> about D's const or C++'s const (or other even)?
>
hehe .. well, if I knew I wouldn't ask '^_^
Just the const thing that everyone is talking about.
More information about the Digitalmars-d-learn
mailing list