Boost logo

Boost Users :

From: Michael Marcin (mike_at_[hidden])
Date: 2007-01-23 03:11:14


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net