I used lambda expression in my real code.
Indeed,this line is just a part of a lambda expression body,if I give up the line then the whole body will change too. You may think it is unwise.
Please help me to solve it.
Thanks a lot.

 

在2009-07-11,"Zachary Turner" <divisortheory@gmail.com> 写道:
>2009/7/10 fmingu <fmingu@163.com>:
>> Do you mean :
>>    (
>> bind(&IIPrimemap::value_type::second,(*bind(static_cast<IIPrimemap::iterator
>> (IIPrimemap::*)()> (&IIPrimemap::end),var(primemapvec))))())++;
>> or:
>>  bind(&IIPrimemap::value_type::second,(*bind(static_cast<IIPrimemap::iterator
>> (IIPrimemap::*)()> (&IIPrimemap::end),var(primemapvec))))()++; ?
>> but I still can not get the changed value.
>> Can you give me further suggestions?
>> Thanks a lot.
>
>Honestly that code is really hard to read, and seems like an abuse of
>lambda expressions.  Are you planning on using that in real code or
>are you just trying to do this as an exercise?
>_______________________________________________
>Boost-users mailing list
>Boost-users@lists.boost.org
>http://lists.boost.org/mailman/listinfo.cgi/boost-users



200万种商品,最低价格,疯狂诱惑你