------- Comment #4 from doug dot gregor at gmail dot com 2005-11-12 11:33 ------- This is not a bug. TR1 3.5 refers to member function pointers, not member data pointers as in the submitted test case. mem_fn has no result_type for member data pointers because the constness of the result type depends on the constness of the argument type; use result_of to get the appropriate result type given the argument type. See also TR1 DR 10.24 "Mem_fn result_type for pointer to data member".
-- doug dot gregor at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |doug dot gregor at gmail dot | |com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24800