: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: alex at grundis dot de
Target Milestone: ---
The following code breaks:
#include
void foo(const char* b, volatile char* d){
std::copy_n(b, 10, d);
}
This is a regression from earlier versions where
++
Assignee: unassigned at gcc dot gnu.org
Reporter: alex at grundis dot de
Target Milestone: ---
Using `std::enable_if` with a trait checking for `static_castable` fails hard
instead of SFINAE and usage of the alternative signature.
Code (https://godbolt.org/z/2uJc3P):
template
struct