mt_allocator.h (__common_pool_policy): Add template template parameter for pool class...
authorBenjamin Kosnik <bkoz@redhat.com>
Thu, 28 Oct 2004 20:46:08 +0000 (20:46 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 28 Oct 2004 20:46:08 +0000 (20:46 +0000)
commit6571df13b4c1b52d50a7e297db59ec698c2220ee
tree42e84384ba20cde73791c69c66e64d90df17bc78
parenta827e21a71040a2b8b4101e0c0c68396f360203c
mt_allocator.h (__common_pool_policy): Add template template parameter for pool class type.

2004-10-28  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/mt_allocator.h (__common_pool_policy): Add template
template parameter for pool class type.
(__per_type_pool_policy): Same.
(__mt_allocator): Don't inherit policy. Qualify policy_type calls.
* testsuite/ext/mt_allocator/check_deallocate_null.cc: Fix.
* testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: Same.
* testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
* testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
* testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
* testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
* testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
* testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
* testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
* testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
* testsuite/ext/mt_allocator/instantiate.cc: Same.
* testsuite/ext/mt_allocator/tune-1.cc: Same.
* testsuite/ext/mt_allocator/tune-2.cc: Same.
* testsuite/ext/mt_allocator/tune-3.cc: Same.
* testsuite/ext/mt_allocator/tune-4.cc: Same.

From-SVN: r89776
17 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/mt_allocator.h
libstdc++-v3/testsuite/ext/mt_allocator/check_deallocate_null.cc
libstdc++-v3/testsuite/ext/mt_allocator/check_deallocate_null_thread.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global-2.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global-4.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global_thread-1.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global_thread-3.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local-2.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local-4.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-1.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-3.cc
libstdc++-v3/testsuite/ext/mt_allocator/instantiate.cc
libstdc++-v3/testsuite/ext/mt_allocator/tune-1.cc
libstdc++-v3/testsuite/ext/mt_allocator/tune-2.cc
libstdc++-v3/testsuite/ext/mt_allocator/tune-3.cc
libstdc++-v3/testsuite/ext/mt_allocator/tune-4.cc