summaryrefslogtreecommitdiff
path: root/libitm
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2016-01-12 14:54:33 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2016-01-12 14:54:33 +0000
commit1c3c7c414570020cfb7b510f908fc20995ab2da0 (patch)
treec7a791ee1bf6a87f06582f10e061a632ec28dcf5 /libitm
parent3c4e91c903a599641e3adf08b6f2646d778c4cf3 (diff)
downloadgcc-1c3c7c414570020cfb7b510f908fc20995ab2da0.tar.gz
Prevent recursive instantiation in std::function
PR libstdc++/69005 PR libstdc++/69222 * include/std/functional (function::_Invoke): Remove, use result_of. (function::_Callable): Replace alias template with class template and use partial specialization instead of _NotSelf alias template. (function(_Functor)): Add "not self" constraint so that _Callable is not used while type is incomplete. * testsuite/20_util/function/69222.cc: New. From-SVN: r232273
Diffstat (limited to 'libitm')
0 files changed, 0 insertions, 0 deletions