Boost logo

Boost Users :

Subject: Re: [Boost-users] boost.container.vector::operator==() bug?
From: quang.trinh_at_[hidden]
Date: 2014-11-09 19:13:34


$z$s$ak
Sent from my BlackBerry device on the Rogers Wireless Network

-----Original Message-----
From: Ion Gaztañaga <igaztanaga_at_[hidden]>
Sender: "Boost-users" <boost-users-bounces_at_[hidden]>Date: Sun, 09 Nov 2014 22:44:43
To: <boost-users_at_[hidden]>
Reply-To: boost-users_at_[hidden]
Subject: Re: [Boost-users] boost.container.vector::operator==() bug?

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 mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users


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