static allocator

declare alloc as a static data member
What is line 25 added for?
I tried this code. It didn't compile.