apolukhin / Boost-Cookbook

Online examples from "Boost C++ Application Development Cookbook":
http://apolukhin.github.io/Boost-Cookbook/
Boost Software License 1.0
401 stars 108 forks source link

Update main.cpp #2

Closed bingozhu0197 closed 7 years ago

bingozhu0197 commented 8 years ago

The tag should be fast_pool_allocator_tag. ref: http://www.boost.org/doc/libs/1_60_0/libs/pool/doc/html/header/boost/pool/pool_alloc_hpp.html

apolukhin commented 8 years ago

Thanks for pull request!

I'll investigate the fast_pool_allocator to remember why I have not used it. Probably that was by mistake and I'll merge your request, but I need to be sure.

apolukhin commented 7 years ago

Great thanks for the fix! I've merged your change + fixed a few more unpleasant issues in that recipe here: c7c7f92

Thanks again!