diff options
| author | Jonathan Wakely <jwakely@redhat.com> | 2014-11-03 02:55:32 +0000 |
|---|---|---|
| committer | Jonathan Wakely <redi@gcc.gnu.org> | 2014-11-03 02:55:32 +0000 |
| commit | 8d9076969b94fe6ed2a7bb3e19b56f3c2ac9488c (patch) | |
| tree | ae70857bf8288024edfc24fa8e93d3b1962efda8 /libcpp/files.c | |
| parent | 2ba89c141dc4e9fa468f812d617f95da59d8007f (diff) | |
| download | gcc-8d9076969b94fe6ed2a7bb3e19b56f3c2ac9488c.zip gcc-8d9076969b94fe6ed2a7bb3e19b56f3c2ac9488c.tar.gz gcc-8d9076969b94fe6ed2a7bb3e19b56f3c2ac9488c.tar.bz2 | |
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.
From-SVN: r217024
Diffstat (limited to 'libcpp/files.c')
0 files changed, 0 insertions, 0 deletions
