The SFINAE on the function __mu(Fn, Args...) that evaluates nested bind expressions always tries to deduce the return type for Fn(Args...) even when Fn is not a nested bind expression. This can cause hard compile errors when the instantation of Fn(Args...) is ill-formed. This patch prevents the instantation of __invoke_of<Fn, Args...> unless Fn is actually a bind expression. Bug reportand patch from Michel Morin. http://llvm.org/bugs/show_bug.cgi?id=22003 llvm-svn: 224753 |
||
|---|---|---|
| .. | ||
| allocator.adaptor | ||
| date.time | ||
| function.objects | ||
| intseq | ||
| memory | ||
| meta | ||
| ratio | ||
| template.bitset | ||
| time | ||
| tuple | ||
| type.index | ||
| utilities.general | ||
| utility | ||
| utility.requirements | ||
| nothing_to_do.pass.cpp | ||