File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ struct IsTriviallyConstructible {
45
45
#if defined(_LIBCPP_VERSION) || SWIFT_COMPILER_IS_MSVC
46
46
// libc++ and MSVC implement is_trivially_constructible.
47
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);
48
+ #elif __has_feature(__is_trivially_constructible ) || __GNUC__ >= 5
49
+ static const bool value = __is_trivially_constructible (T);
50
50
#else
51
51
# error "Not implemented"
52
52
#endif
@@ -57,8 +57,8 @@ struct IsTriviallyDestructible {
57
57
#if defined(_LIBCPP_VERSION) || SWIFT_COMPILER_IS_MSVC
58
58
// libc++ and MSVC implement is_trivially_destructible.
59
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);
60
+ #elif __has_feature(__is_trivially_destructible ) || __GNUC__ >= 5
61
+ static const bool value = __is_trivially_destructible (T);
62
62
#else
63
63
# error "Not implemented"
64
64
#endif
You can’t perform that action at this time.
0 commit comments