http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57899
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- Clang compiles the preprocessed source OK, so the problem may be in the front-end not the library. Commenting out the volatile and const volatile overloads of _Bind::operator() allows the program to compile with G++.