Anton, thanks for the review!
Comments addressed. I also added a test for empty groups. (It doesn't make
sense
to allocate them.)
-- Vitaly
http://codereview.chromium.org/683/diff/1/src/allocation.h
File src/allocation.h (right):
http://codereview.chromium.org/683/diff/1/src/alloc
LGTM
http://codereview.chromium.org/683/diff/1/src/allocation.h
File src/allocation.h (right):
http://codereview.chromium.org/683/diff/1/src/allocation.h#newcode55
src/allocation.h:55: class CustomlyAllocated {
I don't like the name, but I cannot come up with anything better.
However,