Is the compilation failure below due to a libstdc++ defect, or is this behavior compliant with the Transactional Memory TS (n4514)?
#include <type_traits>
static_assert(std::is_function_v<void() transaction_safe>, "");
int main() {}
Is the compilation failure below due to a libstdc++ defect, or is this behavior compliant with the Transactional Memory TS (n4514)?
#include <type_traits>
static_assert(std::is_function_v<void() transaction_safe>, "");
int main() {}
It should work, please file a GCC bug report.