23 Jan
2007
23 Jan
'07
8:11 a.m.
I was wondering if I could use boost::pool for a fixed-sized object pool and return NULL if it tries to construct more than the maximum. Reading http://www.boost.org/libs/pool/doc/implementation/object_pool.html it seems like I could if I set_next_size(0) but it explicitly says I should not do that. Is there a reason to not support this behavior or is it supported in some other way/library? Thanks, Michael Marcin