------- Comment #4 from paolo dot carlini at oracle dot com 2009-02-09 16:11 ------- (In reply to comment #3) > I'm looking at the current draft, n2798. > 23.2.6.2/10-11 [vector.capacity] > which lists both forms of resize(). > Yes, libstdc++ covers both by using the trailing default argument, but I > still can't pass it to mem_fun/mem_fun_ref.
To be clear again: the current draft is not relevant here, because we are *not* implementing it. Concepts are needed, see PR 32618. Thus, since we are strictly following the standard as far as std::vector is concerned, I have troubles believing that the implementation of mem_fun_ref is at fault in any sense, that is really old code, and following rather directly from the specs. Either a C++ issue, or not a bug. Please double check. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39136