mt_allocator (__mt_alloc<>::_Tune): Add _M_align, the alignment requested.
authorPaolo Carlini <pcarlini@suse.de>
Fri, 18 Jun 2004 23:27:30 +0000 (23:27 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 18 Jun 2004 23:27:30 +0000 (23:27 +0000)
commite2aa7005e792abe50ec7084b4850db0bf8c982ab
treeb395f240195806b1575fd64ef40c5a83eab8a180
parentdc04f75547c55a6022125ef3684f18ae432af236
mt_allocator (__mt_alloc<>::_Tune): Add _M_align, the alignment requested.

2004-06-18  Paolo Carlini  <pcarlini@suse.de>

* include/ext/mt_allocator (__mt_alloc<>::_Tune): Add _M_align,
the alignment requested.
(__mt_alloc<>::_Tune::_Tune): Tweak consistently.
(__mt_alloc<>::allocate): Use it instead of sizeof(_Block_record).
(__mt_alloc<>::deallocate): Likewise.

From-SVN: r83372
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/mt_allocator.h