On Mon, Oct 4, 2010 at 11:31 AM, Tony Gentilcore <[email protected]> wrote:
> For general reference, when is it appropriate to use FastAllocBase?
>
> If you subclass RefCounted<T> or Noncopyable, which is very common,
> you pick up FastAllocBase. So, my naive guess is that any class/struct
> which doesn't pick up FastAllocBase through its inheritance chain
> should subclass it directly. Is that a reasonable guideline?

My understanding is that FastAllocBase is supposed to be on the
inheritance chain for every object that's allocated on the heap.

Adam
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to