On 4/2/12 6:25 PM, Jeffrey Yasskin wrote:
2012-04-02 Jeffrey Yasskin<jyass...@google.com>
* libstdc++-v3/include/bits/stl_algo.h (__stable_partition_adaptive):
Avoid move-assigning an object to itself by explicitly testing
Test vectors, which have a destructive self-move-assignment.
Test with rvalstruct, which explicitly checks self-move-assignment.
This is OK for google/gcc-4_6, if trunk review requests changes, you can
backport them later.