http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57388
--- Comment #3 from Daniel Krügler <daniel.kruegler at googlemail dot com> --- Extending std::is_function in regard to ref-qualified functions will depend on that issue. I haven't found a way to get around these ICEs in the (updated) test cases.