Boost logo

Boost Users :

Subject: Re: [Boost-users] boost.container.vector::operator==() bug?
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2014-11-09 16:44:43


El 09/11/2014 21:34, niXman escribió:
> Ion Gaztañaga 2014-11-09 23:07:
>> Because nobody has provided a patch ;-) I'll add this to the to-do
>> list. Thanks.
>
> done:
> https://github.com/boostorg/container/pull/18

I don't think using std::equal will guarantees the use of memcmp. At
least, the last time I checked some major implementations didn't use it
and others only for char types. I've seen libstdc++ uses memcmp for
non-char types, maybe that could be a good example to follow.

Best,

Ion


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net