diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-15 17:14:57 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-15 17:14:57 +0000 |
commit | 9f092e58e1ca92f1851075265ba3dca3884ac648 (patch) | |
tree | 5893b4dddec9f091abe606ab63e2c5c6c4d27e44 /libstdc++-v3/include | |
parent | d0daca65ce9983555dc045ca231a444decc20e72 (diff) | |
download | gcc-9f092e58e1ca92f1851075265ba3dca3884ac648.tar.gz |
2010-10-15 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/functional (function<>::operator==, operator!=):
Remove, per LWG 1240.
* testsuite/20_util/function/cmp/cmp_neg.cc: Adjust dg-* directives.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165514 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r-- | libstdc++-v3/include/std/functional | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libstdc++-v3/include/std/functional b/libstdc++-v3/include/std/functional index 51054ac2da6..cf178e336e7 100644 --- a/libstdc++-v3/include/std/functional +++ b/libstdc++-v3/include/std/functional @@ -2096,12 +2096,6 @@ _GLIBCXX_HAS_NESTED_TYPE(result_type) template<typename _Functor> const _Functor* target() const; #endif - // deleted overloads - template<typename _Res2, typename... _ArgTypes2> - void operator==(const function<_Res2(_ArgTypes2...)>&) const = delete; - template<typename _Res2, typename... _ArgTypes2> - void operator!=(const function<_Res2(_ArgTypes2...)>&) const = delete; - private: typedef _Res (*_Invoker_type)(const _Any_data&, _ArgTypes...); _Invoker_type _M_invoker; |