forked from OSchip/llvm-project
94d555116c
This patch fixes llvm.org/PR34298. Previously libc++ incorrectly evaluated the __invokable trait via the converting constructor `function(Tp)` [with Tp = std::function] whenever the copy constructor or copy assignment operator was required. This patch further constrains that constructor to short circut before evaluating the troublesome SFINAE when `Tp` matches std::function. The original patch is from Alex Lorenz. llvm-svn: 312892 |
||
---|---|---|
.. | ||
arithmetic.operations | ||
bind | ||
bitwise.operations | ||
comparisons | ||
func.def | ||
func.invoke | ||
func.memfn | ||
func.not_fn | ||
func.require | ||
func.wrap | ||
logical.operations | ||
negators | ||
refwrap | ||
unord.hash |