This testcase:

#include <unordered_map>

using namespace std;
int main()
{
  typedef unordered_multimap<int,double> mmap;
  typedef mmap::const_iterator citer;

  mmap m;
  citer i = m.find(0);
}

compiles fine with the normal mode unordered_multimap, but fails to compile
with -D_GLIBCXX_DEBUG.


-- 
           Summary: iterator copying doesn't work for debug mode
                    unordered_multimap
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jason at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36893

Reply via email to