http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57825
--- Comment #4 from Daniel Krügler <daniel.kruegler at googlemail dot com> --- (In reply to Tomasz Kamiński from comment #2) > Propably this is also causing the problem with the standard library > is_function and is_member function traits, because they cannot be > implemented correclty. No, this was a different problem and it became fixed. Your example code works fine gcc 4.9.0 20130616 (experimental) (I do know this, because I recently completed the implementation of std::function for gcc)