Boost logo

Boost Users :

Subject: Re: [Boost-users] Flyweight: wrapping shared_ptr
From: Joaquin M Lopez Munoz (joaquin_at_[hidden])
Date: 2014-10-07 15:01:29


Joaquin M Lopez Munoz <joaquin <at> tid.es> writes:

>
> I've rewritten your test case to take advantage of this poly_flyweight
> thing, cleaning up some unnecessary hash and operator== overloads
> along the way and without resorting to the intermediate Exp_ type; see:
>
> http://coliru.stacked-crooked.com/a/76e87531b65d44f9

BTW, I forgot to add a virtual destructor to Base.

Joaquín M López Muñoz
Telefónica


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net