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 50fe8eb commit fa35e77Copy full SHA for fa35e77
libcxx/include/__atomic/atomic.h
@@ -233,7 +233,7 @@ struct __atomic_waitable_traits<__atomic_base<_Tp, _IsIntegral> > {
233
234
template <typename _Tp>
235
struct __check_atomic_mandates {
236
- using type = _Tp;
+ using type _LIBCPP_NODEBUG = _Tp;
237
static_assert(is_trivially_copyable<_Tp>::value, "std::atomic<T> requires that 'T' be a trivially copyable type");
238
};
239
0 commit comments