On 12.12.2012 22:24, nathan binkert wrote: 

> Awesome.
> 
> My
biggest recommendation to everyone writing gem5 code. Learn what
rvalue
> references are and *use* them.
> 
> We should probably also get
rid of our reference counting stuff and use
> make_shared and
shared_ptr.
> 
> Nate
>
_______________________________________________
> gem5-dev mailing
list
> gem5-dev@gem5.org
> http://m5sim.org/mailman/listinfo/gem5-dev
[1]

I'm eagerly awaiting your patch to use shared_ptr. :) More
seriously though I looked at rvalue references and and didn't see a lot
of places beyond the internal STL implementations that would help as we
generally have containers with pointers instead of classes. 

Ali 




Links:
------
[1] http://m5sim.org/mailman/listinfo/gem5-dev
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to