Protect from comma operator overload
Jonathan Wakely
jwakely.gcc@gmail.com
Mon Apr 16 20:08:00 GMT 2018
On 16 April 2018 at 20:52, François Dumont wrote:
> Hi
>
> While working on something else on libstdc++ I started having a test
> failing because of the missing comma overload protection in deque.tcc. So I
> looked for other similar places in the code and here is a patch to fix the
> places I found.
>
> Let me know if it is still time to commit.
The changes look right, but please add new tests to demonstrate the
code that used to fail.
You can use <testsuite_iterators.h> because the iterator types defined
in there have deleted comma operators that should cause errors in
these places.
More information about the Libstdc++
mailing list