This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] Fix std::function to cope with volatile-qualified pointers to members


(N.B. not pointers to volatile member functions!)

        * include/std/functional (__callable_functor): Overload for
        volatile-qualified pointers.
        * testsuite/20_util/function/10.cc: New.

Tested x86_64-linux, committed to trunk.  I think the problem is
obscure enough that the fix doesn't need to go on older branches.

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]