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.
__is_trivially_destructible
1 parent 88cc42c commit 8f5f95bCopy full SHA for 8f5f95b
include/swift/Basic/type_traits.h
@@ -58,7 +58,7 @@ struct IsTriviallyDestructible {
58
// libc++ and MSVC implement is_trivially_destructible.
59
static const bool value = std::is_trivially_destructible<T>::value;
60
#elif __has_feature(has_trivial_destructor) || __GNUC__ >= 5
61
- static const bool value = __has_trivial_destructor(T);
+ static const bool value = __is_trivially_destructible(T);
62
#else
63
# error "Not implemented"
64
#endif
0 commit comments