We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25c9a6a commit 88cc42cCopy full SHA for 88cc42c
include/swift/Basic/type_traits.h
@@ -46,7 +46,7 @@ struct IsTriviallyConstructible {
46
// libc++ and MSVC implement is_trivially_constructible.
47
static const bool value = std::is_trivially_constructible<T>::value;
48
#elif __has_feature(has_trivial_constructor) || __GNUC__ >= 5
49
- static const bool value = __has_trivial_constructor(T);
+ static const bool value = __is_trivially_constructible(T);
50
#else
51
# error "Not implemented"
52
#endif
0 commit comments