$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: scleary_at_[hidden]
Date: 2000-12-04 11:51:47
> new[] will guarantee alignment for C++ types; unfortunately, SIMD types do
> not map to C++ and the default new[] is not guaranteed to work for them.
I thought SIMD was just special (parallel) operations on arrays of doubles
(or long doubles?)...
> > Pool itself passes off the alignment issues to operator new[]. Thus, it
> > should be possible to tackle alignment issues by overloading operator
new[],
> > if you know your compiler doesn't provide proper alignment.
>
> Yes, this is an option; but wouldn't it be better to allow user-supplied
> allocation/deallocation functions?
Maybe. I have to question how often it would be used without overriding
global new[]/delete[] anyway. In other words: is it really worth the
trouble?
-Steve