#include <algorithm> #include <vector> using namespace std;
int main( int, char** ) { vector<int> v1; vector<int> v2; vector<int> v3; set_union( v1.begin(), v1.end(), v2.begin(), v2.end(), v3.begin() ); return 0; } $ g++ -o t t.cc -D_GLIBCXX_DEBUG ... debug/functions.h:317: error: no matching function for call to __check_sorted_set_aux() ... -- Summary: set_union and _GLIBCXX_DEBUG does not compile Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: joerg dot richter at pdv-fs dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36363