Weed wrote:
Bill Baxter пишет:
On Fri, Jan 9, 2009 at 2:43 PM, Weed wrote:
Weed пишет:
Bill Baxter пишет:
2009/1/9 Weed :
Bill Baxter пишет:
Another thread just reminded me of something I use frequently in C++
that doesn't work in D because ++x is not an lvalue:
int x,N;
...
++x %
Bill Baxter пишет:
> On Fri, Jan 9, 2009 at 2:43 PM, Weed wrote:
>> Weed пишет:
>>> Bill Baxter пишет:
2009/1/9 Weed :
> Bill Baxter пишет:
>> Another thread just reminded me of something I use frequently in C++
>> that doesn't work in D because ++x is not an lvalue:
>>
>>
Nick Sabalausky пишет:
> "Weed" wrote in message
> news:gk6n29$218...@digitalmars.com...
>> Bill Baxter ?:
>>> 2009/1/9 Weed :
Bill Baxter ?:
> Another thread just reminded me of something I use frequently in C++
> that doesn't work in D because ++x is not an lvalue:
>
>>
Bill Baxter пишет:
> On Fri, Jan 9, 2009 at 2:22 PM, Weed wrote:
>> Bill Baxter пишет:
>>> 2009/1/9 Weed :
Bill Baxter пишет:
> Another thread just reminded me of something I use frequently in C++
> that doesn't work in D because ++x is not an lvalue:
>
>int x,N;
> .
"Weed" wrote in message
news:gk6n29$218...@digitalmars.com...
> Bill Baxter ?:
>> 2009/1/9 Weed :
>>> Bill Baxter ?:
Another thread just reminded me of something I use frequently in C++
that doesn't work in D because ++x is not an lvalue:
int x,N;
...
On Fri, Jan 9, 2009 at 2:43 PM, Weed wrote:
> Weed пишет:
>> Bill Baxter пишет:
>>> 2009/1/9 Weed :
Bill Baxter пишет:
> Another thread just reminded me of something I use frequently in C++
> that doesn't work in D because ++x is not an lvalue:
>
>int x,N;
> ...
Weed пишет:
> Bill Baxter пишет:
>> 2009/1/9 Weed :
>>> Bill Baxter пишет:
Another thread just reminded me of something I use frequently in C++
that doesn't work in D because ++x is not an lvalue:
int x,N;
...
++x %= N;
So is there some deep reason fo
On Fri, Jan 9, 2009 at 2:22 PM, Weed wrote:
> Bill Baxter пишет:
>> 2009/1/9 Weed :
>>> Bill Baxter пишет:
Another thread just reminded me of something I use frequently in C++
that doesn't work in D because ++x is not an lvalue:
int x,N;
...
++x %= N;
>>>
Bill Baxter пишет:
> 2009/1/9 Weed :
>> Bill Baxter пишет:
>>> Another thread just reminded me of something I use frequently in C++
>>> that doesn't work in D because ++x is not an lvalue:
>>>
>>>int x,N;
>>> ...
>>>++x %= N;
>>>
>>> So is there some deep reason for not making it an lvalu
2009/1/9 Weed :
> Bill Baxter пишет:
>> Another thread just reminded me of something I use frequently in C++
>> that doesn't work in D because ++x is not an lvalue:
>>
>>int x,N;
>> ...
>>++x %= N;
>>
>> So is there some deep reason for not making it an lvalue like in C++?
>>
>
> ++x is x
Bill Baxter пишет:
> Another thread just reminded me of something I use frequently in C++
> that doesn't work in D because ++x is not an lvalue:
>
>int x,N;
> ...
>++x %= N;
>
> So is there some deep reason for not making it an lvalue like in C++?
>
++x is x+=1 in D:
void main() {
Another thread just reminded me of something I use frequently in C++
that doesn't work in D because ++x is not an lvalue:
int x,N;
...
++x %= N;
So is there some deep reason for not making it an lvalue like in C++?
--bb
12 matches
Mail list logo