All the discussion about const on this NG lately has made me realize that I
have no idea what the difference is between const and in, i.e. what is the
difference between:
SomeType foo(const SomeType bar) and
SomeType foo(in SomeType bar)
?
dsimcha wrote:
All the discussion about const on this NG lately has made me realize that I
have no idea what the difference is between const and in, i.e. what is the
difference between:
SomeType foo(const SomeType bar) and
SomeType foo(in SomeType bar)
There's no difference between them. The
Sean Kelly wrote:
> dsimcha wrote:
>> All the discussion about const on this NG lately has made me realize that
>> I have no idea what the difference is between const and in, i.e. what is
>> the difference between:
>>
>> SomeType foo(const SomeType bar) and
>> SomeType foo(in SomeType bar)
>
> T
Sat, 7 Mar 2009 15:37:07 + (UTC), dsimcha wrote:
> All the discussion about const on this NG lately has made me realize that I
> have no idea what the difference is between const and in, i.e. what is the
> difference between:
>
> SomeType foo(const SomeType bar) and
> SomeType foo(in SomeType
Adam Burton wrote:
Sean Kelly wrote:
dsimcha wrote:
All the discussion about const on this NG lately has made me realize that
I have no idea what the difference is between const and in, i.e. what is
the difference between:
SomeType foo(const SomeType bar) and
SomeType foo(in SomeType bar)
Th
Sat, 07 Mar 2009 17:43:19 -0800, Robert Fraser wrote:
> Adam Burton wrote:
>> Sean Kelly wrote:
>>
>>> dsimcha wrote:
All the discussion about const on this NG lately has made me realize that
I have no idea what the difference is between const and in, i.e. what is
the difference be
Sergey Gromov Wrote:
> In D2, 'in' means 'const scope'. I've seen that in writing but can't
> remember where.
How can it be scope? If you have scope object, it gets *destructed* when
leaving scope: when function exits. Ouch.
On Mon, 09 Mar 2009 18:07:05 +0300, Kagamin wrote:
Sergey Gromov Wrote:
In D2, 'in' means 'const scope'. I've seen that in writing but can't
remember where.
How can it be scope? If you have scope object, it gets *destructed* when
leaving scope: when function exits. Ouch.
No. Scope has
Denis Koroskin Wrote:
> No. Scope has different meaning here.
O RLY? That's good news.