Hi,
Well, not really. This point was also criticized by one of the referees of
the CPC paper.
It should somehow be a shared pointer, but as far as I see, the problem is
that it usually doesn’t come as such @ the time of construction. Perhaps,
the Evolved constructor should be templated, and the function
sharedPointerize applied on the argument, in order that it can be safely
stored within Evolved as a shared pointer.
I myself never encountered any problem with the current usage, did you?
Anyway, it’s definitely a consistency issue, and I would be glad if you
figured out a way to fix it.
Best regards,
András
On Thu, Dec 12, 2013 at 2:35 PM, Raimar Sandner
<rai...@ui...>wrote:
> Hi András,
>
> is there any reason why Evolved (and therefore now EvolvedIO) is holding a
> reference A& a_ instead of a shared pointer?
>
> Best regards
> Raimar
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Cppqed-support mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppqed-support
>
|