Remove constexpr support for std::apply because it introduces regressions.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@235274 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -32,6 +32,8 @@ namespace ex = std::experimental;
|
||||
|
||||
int main()
|
||||
{
|
||||
// TODO(ericwf): Re-enable constexpr support
|
||||
/*
|
||||
{
|
||||
constexpr func_obj f;
|
||||
constexpr std::tuple<> tp;
|
||||
@@ -39,6 +41,7 @@ int main()
|
||||
static_assert(1 == ex::apply(static_cast<func_obj const &>(f), tp), "");
|
||||
static_assert(2 == ex::apply(static_cast<func_obj const &&>(f), tp), "");
|
||||
}
|
||||
*/
|
||||
{
|
||||
func_obj f;
|
||||
std::tuple<> tp;
|
||||
|
Reference in New Issue
Block a user