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 54a4955 commit 793d87eCopy full SHA for 793d87e
include/swift/Runtime/Heap.h
@@ -120,6 +120,14 @@ struct cxx_allocator {
120
typedef cxx_allocator<U> other;
121
};
122
123
+ cxx_allocator() noexcept {}
124
+ cxx_allocator(const cxx_allocator &other) noexcept { (void)other; }
125
+
126
+ template <class U>
127
+ cxx_allocator(const cxx_allocator<U> &other) noexcept { (void)other; }
128
129
+ ~cxx_allocator() {}
130
131
pointer address(reference x) const noexcept {
132
return reinterpret_cast<pointer>(&reinterpret_cast<volatile char &>(x));
133
}
0 commit comments