
18 Jan
2011
18 Jan
'11
9:43 p.m.
AMDG On 1/18/2011 1:36 PM, Mathias Gaunard wrote:
I'm a bit puzzled at one thing though: why is object_pool::free O(n)? Couldn't it be O(1) like for the other interfaces? I suppose that's because it tries to be order preserving, but I don't see any reason why that should be forced on users.
It has to be order preserving to make the destructor work. In Christ, Steven Watanabe