This is the mail archive of the
mailing list for the libstdc++ project.
Re: [[patch] valarray (was Re: valarray_copy implementation question)
On Thu, Nov 26, 2009 at 5:42 AM, Christian BRUEL <firstname.lastname@example.org> wrote:
>> This disposition makes your example above have an undefined behaviour.
> this : myarray[mymask] += valarray<int>(3,n);
> is undefined ???
> myarray = size 10
> valrarray = size 10
> mymask = size 10, 2 true bits.
> oh well...
> I've recorded the original bug
> at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42182
It should be closed as 'user error'.