diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2014-11-03 02:55:36 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2014-11-03 02:55:36 +0000 |
commit | afc449e82cb99424361f95190cec4381e4da11f8 (patch) | |
tree | 6fe19de90a91be44ec202d03955b377cb960ebb6 /boehm-gc/doc | |
parent | 8d9076969b94fe6ed2a7bb3e19b56f3c2ac9488c (diff) | |
download | gcc-afc449e82cb99424361f95190cec4381e4da11f8.zip gcc-afc449e82cb99424361f95190cec4381e4da11f8.tar.gz gcc-afc449e82cb99424361f95190cec4381e4da11f8.tar.bz2 |
Check number of arguments in bind expressions.
* include/std/functional (_Mem_fn_traits_base::__arity): New typedef.
(_Mem_fn_base::_Arity): New typedef.
(_Bind_check_arity): New class template.
(_Bind_helper, _Bindres_helper, _Bind_simple_helper): Check arity.
* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error.
From-SVN: r217025
Diffstat (limited to 'boehm-gc/doc')
0 files changed, 0 insertions, 0 deletions