diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-11 23:38:34 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-11 23:38:34 +0000 |
commit | a228eb3e0c1932c0efca4353fb03832604cf4f9f (patch) | |
tree | 535810f72152d6ec7ff4a29780a15f8e44eab830 /gcc/testsuite/go.go-torture | |
parent | 4d0069eeb7f1993e213d7c974d99345e16511ee1 (diff) | |
download | gcc-a228eb3e0c1932c0efca4353fb03832604cf4f9f.tar.gz |
Make std::mem_fn work with varargs functions.
* include/std/functional (_Mem_fn_traits): Add partial specializations
for varargs functions.
(_Mem_fn_base): Do not check arguments are convertible for varargs.
(_Bind_check_arity): Add partial specializations for varargs functions.
* include/std/type_traits (__bool_constant): Add alias template.
* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error.
* testsuite/20_util/bind/refqual.cc: New, test ref-qualifiers.
* testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
* testsuite/20_util/function_objects/mem_fn/refqual.cc: Test varargs.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
dg-error.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust
dg-error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217393 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/go.go-torture')
0 files changed, 0 insertions, 0 deletions