r217024 - in /trunk/libstdc++-v3: ChangeLog inc...
redi@gcc.gnu.org
redi@gcc.gnu.org
Mon Nov 3 02:55:00 GMT 2014
Author: redi
Date: Mon Nov 3 02:55:32 2014
New Revision: 217024
URL: https://gcc.gnu.org/viewcvs?rev=217024&root=gcc&view=rev
Log:
Add support for ref-qualified functions to std::mem_fn
PR libstdc++/57898
* include/std/functional (_Mem_fn_traits_base): New class template.
(_Mem_fn_traits): New class template with specializations for every
combination of cv-qualified and ref-qualified member function.
(_Mem_fn_base): New class template for all pointer to member function
types and partial specialization for pointer to member object types.
(_Mem_fn): Inherit from _Mem_fn_base.
* testsuite/20_util/function_objects/mem_fn/refqual.cc: New.
Added:
trunk/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/refqual.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/functional
More information about the Libstdc++-cvs
mailing list