[Bug libstdc++/53339] New: unordered_map::iterator requires Value to be complete type

2012-05-13 Thread eltoder at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53339 Bug #: 53339 Summary: unordered_map::iterator requires Value to be complete type Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED

[Bug libstdc++/53339] unordered_map::iterator requires Value to be complete type

2012-05-13 Thread eltoder at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53339 --- Comment #1 from Eugene Toder 2012-05-13 22:22:54 UTC --- Created attachment 27394 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27394 Quick and dirty proof-of-concept patch

[Bug libstdc++/53339] unordered_map::iterator requires Value to be complete type

2012-05-13 Thread eltoder at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53339 --- Comment #3 from Eugene Toder 2012-05-14 02:40:03 UTC --- Can you point me to where libstdc++ mainline lives these days? trunk and a couple other branches I've checked don't have that line in hashtable_policy.h

[Bug libstdc++/53339] unordered_map::iterator requires Value to be complete type

2012-05-13 Thread eltoder at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53339 --- Comment #4 from Eugene Toder 2012-05-14 04:41:19 UTC --- Created attachment 27395 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27395 POC for mainline Never mind, I was looking in tr1 instead of bits. Yes, it's a bit more tricky in ma

[Bug libstdc++/53339] unordered_map::iterator requires Value to be complete type

2012-05-13 Thread eltoder at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53339 --- Comment #5 from Eugene Toder 2012-05-14 05:05:58 UTC --- Created attachment 27396 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27396 Another approach Actually, a much simpler and cleaner change might be along these lines.

[Bug libstdc++/53339] unordered_map::iterator requires Value to be complete type

2012-05-14 Thread eltoder at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53339 --- Comment #11 from Eugene Toder 2012-05-15 02:03:34 UTC --- Created attachment 27407 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27407 Another simple test case

[Bug libstdc++/53339] unordered_map::iterator requires Value to be complete type

2012-05-14 Thread eltoder at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53339 Eugene Toder changed: What|Removed |Added Attachment #27395|0 |1 is obsolete|

[Bug libstdc++/53339] unordered_map::iterator requires Value to be complete type

2012-05-15 Thread eltoder at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53339 --- Comment #16 from Eugene Toder 2012-05-15 12:30:55 UTC --- Makes sense. I was hoping to avoid copyright assignment by having someone else do the work :) Thank you.

[Bug libstdc++/53339] unordered_map::iterator requires Value to be complete type

2012-05-15 Thread eltoder at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53339 --- Comment #19 from Eugene Toder 2012-05-16 02:21:07 UTC --- Fair point, noted. I believe ideas are not copyrightable, though.