------- Comment #2 from john at johnmaddock dot co dot uk 2005-11-11 18:42 ------- Created an attachment (id=10218) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10218&action=view) Test case (caution complicated)
The attached test cases are rather complex - sorry but it's easier to give you all the bad news at once :-) They also depend on Boost, and you'll need to change the include from <functional> to <tr1/functional> to mesh with gcc's current (non-conforming?) include style. As for the original bug report: it's easy to verify by inspecting the source that _Mem_fn has no base class as required. Hope this gives you what you need. John Maddock -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24800