[Lumiera] GUI boost::shared_pointer to std::tr1

Michael [Plouj] Ploujnikov ploujj at gmail.com
Fri Oct 21 14:21:43 CEST 2011

Please forgive my ignorance, but I'm just curious, why convert to
std::tr1:shared_ptr when std::shared_ptr is already available with
even in gcc 4.4 (and maybe even earlier)?

On Fri, Oct 21, 2011 at 4:09 AM, Michael R Fisher <mfisher31 at gmail.com> wrote:
> I have a first draft of this particular switch in mfisher31/gui ... Almost
> there, but not quite.  All boost::shared_ptr's and weak_ptr's are replaced
> with std::tr1.  ParentTrack was relying on boost::enable_shared_from_this
> which provided a shared_from_this() method.  This needs reinvented.
> My idea of how to return a constant 'this' in tr1::shared_ptr form doesn't
> work.  You'll see in my gui branch that I tried in a non-const fashion (this
> is where I left it).  Still doesn't work.  Any ideas?
> Hopefully this little hurdle will be a good learning experience.  Something
> like this has to be easy.  It can't imagine it's something terribly
> difficult.
> The plan on my end is to only work on this specific thing, then once it is
> done I'll merge it into the other branches of mine.
> _______________________________________________
> Lumiera mailing list
> Lumiera at lists.lumiera.org
> http://lists.lumiera.org/cgi-bin/mailman/listinfo/lumiera
> http://lumiera.org/donations.html

More information about the Lumiera mailing list