Closed llvmbot closed 6 years ago
This appears to have been fixed in clang 4.0. https://godbolt.org/g/aDKYti
This bug is causing issues with upgrading Angelscript in SuperTuxKart: https://travis-ci.org/supertuxkart/stk-code/builds/140468833 https://github.com/supertuxkart/stk-code/pull/2525
Is there a workaround?
Extended Description
Hello,
I've ran into an interesting issue, where, under certain circumstances, evaluating std::is_default_constructible::value has the unexpected side-effect of seemingly deleting T's implicit default constructor.
Here is a minimized test case
With both clang 3.6.2 and 3.7.0 the following error output is generated:
The libstdc++ is from GCC 4.9.2. With clang 3.5.0 it works.
Cheers, Jüri Valdmann