pool_allocator.h: Qualify __throw_bad_alloc.
authorBenjamin Kosnik <bkoz@redhat.com>
Fri, 18 Jun 2004 16:52:42 +0000 (16:52 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Fri, 18 Jun 2004 16:52:42 +0000 (16:52 +0000)
commit2832d07bd187c8298675cf1f6f2020033624e0df
tree75d0c5637e84043a4b4cbcbd088941a559af2f3b
parent64e1e4c4a7825964b7853402053ad5daf95487b3
pool_allocator.h: Qualify __throw_bad_alloc.

2004-06-18  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/pool_allocator.h: Qualify __throw_bad_alloc.
(__pool_base): Remove unused template parameter.  Add
protected. Move lock data into __pool_base::_Lock. Remove static
on member functions.
(__pool_base::_M_get_free_list): New.
(__pool_alloc): Move _S_force new here.
* src/allocator.cc: Move out of line __pool_base definitions here.
* config/linker-map.gnu: Export bits from __pool_base.

From-SVN: r83355
libstdc++-v3/ChangeLog
libstdc++-v3/config/linker-map.gnu
libstdc++-v3/include/ext/pool_allocator.h
libstdc++-v3/src/allocator.cc