4 Oct
2010
4 Oct
'10
6:42 p.m.
On Mon, Oct 4, 2010 at 11:31 AM, Tony Gentilcore <tonyg@chromium.org> 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