← Back to team overview

yade-dev team mailing list archive

Re: shared_ptr<PhysicalAction>

 

Janek Kozicki said:     (by the date of Tue, 17 Feb 2009 10:15:35 +0100)

> Václav Šmilauer said:     (by the date of Tue, 17 Feb 2009 08:38:07 +0100)
> > memset(action[0],0,sizeof(thisAction)) and perhaps would save some
> > shared_ptr overhead we have currently. V.
> 
> feel free to experiment.

you could try memset(.....get(),0,sizeof(thisAction)); maybe?

-- 
Janek Kozicki                                                         |



Follow ups

References