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 @@ -44,8 +44,8 @@ struct IsTriviallyConstructible {
44
44
#if _LIBCPP_VERSION
45
45
// libc++ implements it.
46
46
static const bool value = std::is_trivially_constructible<T>::value;
47
- #elif __has_feature(is_trivially_constructible )
48
- static const bool value = __is_trivially_constructible (T);
47
+ #elif __has_feature(has_trivial_constructor )
48
+ static const bool value = __has_trivial_constructor (T);
49
49
#else
50
50
# error "Not implemented"
51
51
#endif
@@ -56,8 +56,8 @@ struct IsTriviallyDestructible {
56
56
#if _LIBCPP_VERSION
57
57
// libc++ implements it.
58
58
static const bool value = std::is_trivially_destructible<T>::value;
59
- #elif __has_feature(is_trivially_destructible )
60
- static const bool value = __is_trivially_destructible (T);
59
+ #elif __has_feature(has_trivial_destructor )
60
+ static const bool value = __has_trivial_destructor (T);
61
61
#else
62
62
# error "Not implemented"
63
63
#endif
You can’t perform that action at this time.
0 commit comments