mirror of https://github.com/llvm-mirror/libcxx
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
------------------------------------------------------------------------ r312892 | ericwf | 2017-09-10 16:41:20 -0700 (Sun, 10 Sep 2017) | 10 lines Fix PR34298 - Allow std::function with an incomplete return type. 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. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/libcxx/branches/release_50@318835 91177308-0d34-0410-b5e6-96231b3b80d8 |
8 years ago | |
|---|---|---|
| .. | ||
| allocator.adaptor | 9 years ago | |
| any | 9 years ago | |
| function.objects | 8 years ago | |
| intseq | 9 years ago | |
| memory | 8 years ago | |
| meta | 9 years ago | |
| optional | 8 years ago | |
| ratio | 10 years ago | |
| smartptr/unique.ptr | 9 years ago | |
| template.bitset | 9 years ago | |
| time | 9 years ago | |
| tuple | 9 years ago | |
| type.index | 9 years ago | |
| utilities.general | 11 years ago | |
| utility | 8 years ago | |
| utility.requirements | 11 years ago | |
| variant | 8 years ago | |
| nothing_to_do.pass.cpp | 11 years ago | |