Opened 10 years ago

Last modified 10 years ago

#6865 new Feature Requests

pool.get_size()

Reported by: edupuis Owned by: John Maddock
Milestone: To Be Determined Component: pool
Version: Boost 1.49.0 Severity: Cosmetic
Keywords: Cc:

Description

It would be nice to have a function get_size() that would return the current size of the pool.

This could be helpful to track a pool's memory usage.

Change History (4)

comment:1 by edupuis, 10 years ago

Status: newassigned

comment:2 by edupuis, 10 years ago

Resolution: fixed
Status: assignedclosed

(In [78350]) Added new get_size() member function for pool, static_pool and object_pool. This fixes #6865.

comment:3 by edupuis, 10 years ago

Resolution: fixed
Status: closedreopened

comment:4 by edupuis, 10 years ago

Owner: changed from edupuis to John Maddock
Status: reopenednew

https://svn.boost.org/svn/boost/sandbox/pool at revision 79460 contains a solution for tickets #3789, #5902, #6561, #6610, #6701, #6718, #6865 and #6867. Related test cases are also present.

https://svn.boost.org/svn/boost/sandbox/pool at revision 79460 does not contain any other new features or modifications other than those related to the above tickets.

Boost.Pool currently has no maintainer and is thus orphaned.

Note: See TracTickets for help on using tickets.