This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] std::tr1::array testsuite additions, first attempt
>Benjamin, is the size comparison pointless here, since both arrays have
>the same _Nm ?
Yes!
>If it is needed, then the call to std::equal will go off the end of two
>if two.size() < one.size() because it's called whether or not the sizes
>are the same. Could use && to short circuit, but I think this is OK:
>
> return std::equal(__one.begin(), __one.end(), __two.begin());
I'll make this change.
Thanks!
-benjamin